web.xml2 [Spring] web.xml cvc-elt.1.a: Cannot find the declaration of element 'web-app' cvc-elt.1.a: Cannot find the declaration of element 'web-app' 오류 해결방법 스프링에서 servlet 버전을 3.1로 올린 후 web.xml에서 위와 같은 오류가 발생 xsi:schemaLocation의 버전부분만 3_1로 변경하면 되는줄 알았는데 xmlns과 xsi:schemaLocation 둘다 servlet 3.1버전에 맞게 수정해야 한다. 위와 같이 수정하여 해결 참고자료 https://www.ibm.com/docs/ko/was-liberty/base?topic=31-servlet-behavior-changes 2021. 5. 26. web.xml cvc-id.3 에러 해결 web.xml에서 cvc-id.3: Afield of identity constraint 'web.app-servlet-name-uniqueness' matched element 'web-app', but this element does not have a simple type. 위 에러 발생시 web-app 태그의 sci:schemaLocation 의 java를 Java 대문자로 변경하면 해결된다. 2021. 5. 16. 이전 1 다음