質問編集履歴
2
ソースコード、エラーこーど
test
CHANGED
File without changes
|
test
CHANGED
@@ -14,17 +14,113 @@
|
|
14
14
|
|
15
15
|
### 該当のソースコード
|
16
16
|
|
17
|
-
|
17
|
+
```java
|
18
18
|
|
19
|
-
|
19
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
20
20
|
|
21
|
-
|
21
|
+
<web-app id="WebApp_ID" version="2.5" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
|
22
22
|
|
23
|
-
|
23
|
+
<display-name>FirstWebApp</display-name>
|
24
24
|
|
25
|
-
|
25
|
+
<welcome-file-list>
|
26
26
|
|
27
|
+
<welcome-file>index.html</welcome-file>
|
28
|
+
|
29
|
+
<welcome-file>index.htm</welcome-file>
|
30
|
+
|
31
|
+
<welcome-file>index.jsp</welcome-file>
|
32
|
+
|
33
|
+
<welcome-file>default.html</welcome-file>
|
34
|
+
|
27
|
-
|
35
|
+
<welcome-file>default.htm</welcome-file>
|
36
|
+
|
37
|
+
<welcome-file>default.jsp</welcome-file>
|
38
|
+
|
39
|
+
</welcome-file-list>
|
40
|
+
|
41
|
+
</web-app>
|
42
|
+
|
43
|
+
```
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
### 該当のエラーコード
|
48
|
+
|
49
|
+
web-appのエラー内容
|
50
|
+
|
51
|
+
```Java
|
52
|
+
|
53
|
+
There are '39' errors in
|
54
|
+
|
55
|
+
'jsp_2_0.xsd'.
|
56
|
+
|
57
|
+
```
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
versionのエラー内容
|
62
|
+
|
63
|
+
```Java
|
64
|
+
|
65
|
+
この行で見つかった複数の注釈:
|
66
|
+
|
67
|
+
- cvc-attribute.3: The value '2.5' of attribute 'version' on element 'web-app' is not valid with respect to its type,
|
68
|
+
|
69
|
+
'web-app-versionType'.
|
70
|
+
|
71
|
+
- cvc-attribute.3: The value '2.5' of attribute 'version' on element 'web-app' is not valid with respect to its type,
|
72
|
+
|
73
|
+
'web-app-versionType'.
|
74
|
+
|
75
|
+
- Value '2.5' is not in the enumeration list.
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
It must be one of the following:
|
80
|
+
|
81
|
+
- 2.4
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
Code:
|
86
|
+
|
87
|
+
```
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
display-nameのエラー内容
|
94
|
+
|
95
|
+
```Java
|
96
|
+
|
97
|
+
Invalid element name:
|
98
|
+
|
99
|
+
- display-name
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
One of the following is
|
104
|
+
|
105
|
+
expected:
|
106
|
+
|
107
|
+
- distributable
|
108
|
+
|
109
|
+
- context-param
|
110
|
+
|
111
|
+
- filter
|
112
|
+
|
113
|
+
- filter-mapping
|
114
|
+
|
115
|
+
- listener
|
116
|
+
|
117
|
+
- servlet
|
118
|
+
|
119
|
+
- servlet-mapping
|
120
|
+
|
121
|
+
- session-config
|
122
|
+
|
123
|
+
```
|
28
124
|
|
29
125
|
|
30
126
|
|
1
文言
test
CHANGED
File without changes
|
test
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
eclipseを用いて、動的webプロジェクトを新規で作成した。
|
10
10
|
|
11
|
-
|
11
|
+
web.xmlのに原因不明のエラーが発生し、対処に困っている。
|
12
12
|
|
13
13
|
|
14
14
|
|