기타
[오류] web.xml 오류 cvc-id.3: A field of identity constraint
codingD
2021. 7. 18. 17:35
오류메세지
cvc-id.3: A field of identity constraint 'web-app-servlet-name-uniqueness' matched element 'web-
app', but this element does not have a simple type.
- web.xml 에서 아래와 같이 19행과 35행에 X표시와 함께 마지막 > 에서 빨간줄 발생 + 위의 에러 메세지 발생

해결 방법
- xsi:schemaLocation 의 소문자였던 java 를 대문자로 JAVA 나 Java 로 변경함
xsi:schemaLocation="http://Java.sun.com/xml/ns/javaee 나
xsi:schemaLocation="http://JAVA.sun.com/xml/ns/javaee 로 수정
