質問編集履歴
1
あああああああああああああああああああああああああああああああああああああああああああああああ
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
あああああああああああああああああああああああああああああああああああああああああああああああ
|
test
CHANGED
@@ -1,135 +1 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
4
|
-
|
5
|
-
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:web="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd http://java.sun.com/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee" id="WebApp_ID" version="2.5">
|
6
|
-
|
7
|
-
<display-name>SampleServlet</display-name>
|
8
|
-
|
9
|
-
<welcome-file-list>
|
10
|
-
|
11
|
-
<welcome-file>index.html</welcome-file>
|
12
|
-
|
13
|
-
<welcome-file>index.htm</welcome-file>
|
14
|
-
|
15
|
-
<welcome-file>index.jsp</welcome-file>
|
16
|
-
|
17
|
-
<welcome-file>default.html</welcome-file>
|
18
|
-
|
19
|
-
<welcome-file>default.htm</welcome-file>
|
20
|
-
|
21
|
-
<welcome-file>default.jsp</welcome-file>
|
22
|
-
|
23
|
-
</welcome-file-list>
|
24
|
-
|
25
|
-
<servlet>
|
26
|
-
|
27
|
-
<description></description>
|
28
|
-
|
29
|
-
<display-name>HelloServlet</display-name>
|
30
|
-
|
31
|
-
<servlet-name>HelloServlet</servlet-name>
|
32
|
-
|
33
|
-
<servlet-class>Sample.HelloServlet</servlet-class>
|
34
|
-
|
35
|
-
</servlet>
|
36
|
-
|
37
|
-
<servlet-mapping>
|
38
|
-
|
39
|
-
<servlet-name>HelloServlet</servlet-name>
|
40
|
-
|
41
|
-
<url-pattern>/HelloServlet</url-pattern>
|
42
|
-
|
43
|
-
</servlet-mapping>
|
44
|
-
|
45
|
-
</web-app>
|
46
|
-
|
47
|
-
```
|
48
|
-
|
49
|
-
### 前提・実現したいこと
|
50
|
-
|
51
|
-
xmlファイルでエラーが出ているので、それを解消したい。
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
### 発生している問題・エラーメッセージ
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
```
|
60
|
-
|
61
|
-
この行で見つかった複数の注釈:
|
62
|
-
|
63
|
-
- cvc-attribute.3: The value '2.5' of attribute 'version' on element 'web-app' is not valid with respect to its type, 'web-app-
|
64
|
-
|
65
|
-
versionType'.
|
66
|
-
|
67
|
-
- cvc-enumeration-valid: 値 '2.5' は列挙型 '[2.4]' に関して facet-valid (ファセット有効) でありません。It must be a value from the
|
68
|
-
|
69
|
-
enumeration.
|
70
|
-
|
71
|
-
- Value '2.5' is not in the enumeration list. It must be one of the following: - 2.4 Code:
|
72
|
-
|
73
|
-
```
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
### 該当のソースコード
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
```Java
|
82
|
-
|
83
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
84
|
-
|
85
|
-
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:web="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd http://java.sun.com/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee" id="WebApp_ID" version="2.5">
|
86
|
-
|
87
|
-
<display-name>SampleServlet</display-name>
|
88
|
-
|
89
|
-
<welcome-file-list>
|
90
|
-
|
91
|
-
<welcome-file>index.html</welcome-file>
|
92
|
-
|
93
|
-
<welcome-file>index.htm</welcome-file>
|
94
|
-
|
95
|
-
<welcome-file>index.jsp</welcome-file>
|
96
|
-
|
97
|
-
<welcome-file>default.html</welcome-file>
|
98
|
-
|
99
|
-
<welcome-file>default.htm</welcome-file>
|
100
|
-
|
101
|
-
<welcome-file>default.jsp</welcome-file>
|
102
|
-
|
103
|
-
</welcome-file-list>
|
104
|
-
|
105
|
-
<servlet>
|
106
|
-
|
107
|
-
<description></description>
|
108
|
-
|
109
|
-
<display-name>HelloServlet</display-name>
|
110
|
-
|
111
|
-
<servlet-name>HelloServlet</servlet-name>
|
112
|
-
|
113
|
-
<servlet-class>Sample.HelloServlet</servlet-class>
|
114
|
-
|
115
|
-
</servlet>
|
116
|
-
|
117
|
-
<servlet-mapping>
|
118
|
-
|
119
|
-
<servlet-name>HelloServlet</servlet-name>
|
120
|
-
|
121
|
-
<url-pattern>/HelloServlet</url-pattern>
|
122
|
-
|
123
|
-
</servlet-mapping>
|
124
|
-
|
125
|
-
</web-app>
|
126
|
-
|
127
|
-
```
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
### 試したこと
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
プロジェクトのクリーン及びリフレッシュをしましたが、特に解消できませんでした。
|
1
|
+
あああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああ
|