Server/Spring
[Spring Boot] web.xml 초기 에러 메시지 및 해결방법
kmhan
2021. 12. 21. 12:49
728x90
반응형
1. 에러 메세지 : There are '37' erros in 'jps_2_1.xsd'
원인 : url 2개가 구분없이 이어짐
해결방법 : 첫번째 url뒤에 세미콜론(;) 추가
| xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee; http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" |
2. 에러 메세지 : cvc-complex-type.4: Attribute 'version' must appear on element 'web-app'
원인 : web-app 요소에 반드시 버전을 표기해야되는데 없음
해결방법 : 요소에 version 추가
| <web-app 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" id="WebApp_ID" version="2.4"> |
참고 1) https://code-hyoon.tistory.com/14
[Eclipse - Spring] web.xml에서 "There are '37' errors in 'jsp_2_1.xsd'.", "cvc-id.3: A field of identity constraint 'web-app-s
안녕하세요 개발 설정을 하기 위해 Eclipse를 다루면서 발생한 에러를 해결하였습니다. 처음 프로젝트를 생성하면 다음과 같은 에러가 나타났습니다. line 2 : There are '37' errors in 'jsp_2_1.xsd' line 19..
code-hyoon.tistory.com
728x90
반응형