Spring Legacy Project를 생성하고 web.xml을 열었더니 아무것도 안 건드렸는데 아래와 같은 빨간 줄 오류가 뜬다.
There are '37' errors in 'jsp_2_1.xsd'.
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.
라는 오류가 뜨지만 사실 해결 방법은 간단하다.
아래와 같이 xmlns 부분의 java를 JAVA로 대문자로 변경해주면 오류가 거짓말처럼 사라진다.
'[ Framework ] > Spring & Spring Boot' 카테고리의 다른 글
[오류] java.lang.NoClassDefFoundError: org/springframework/core/JdkVersion (0) | 2021.10.12 |
---|---|
[오류] log4j.xml : Cannot find DTD. Create the DTD file or configure an XML catalog for this DTD. (0) | 2021.10.05 |
[Spring] STS4에서 Spring Legacy Project 생성하기 (0) | 2021.09.16 |
[설치] Apache Tomcat 9.0 설치 (0) | 2021.09.15 |