web.xml에서 cvc-id.3: A field of identity constraint 'web-app-filter-name-uniqueness' matched element 'web-app', but this element does not have a simple type.
web.xml에서 상단 web-app 관련 부분 http://java.sun.com 명시된 부분들을
http://JAVA.sun.com이나 http://Java.sun.com으로 변경해주면 해결됨.
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" xmlns="http://Java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee https://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
위 문단 둘째줄 하나만 java를 Java로 바꿔도 해결됨
'java spring' 카테고리의 다른 글
spring 프로젝트 mariadb 연동을 위한 pom.xml 수정 (0) | 2022.11.19 |
---|---|
spring legacy project 시작하기 (0) | 2022.11.19 |
eclipse 연동을 위한 tomcat 설치 (0) | 2022.11.06 |
java 여러버전이 설치된 경우 디폴트 선택하기 (0) | 2022.11.06 |
이클립스 단축키 (0) | 2022.11.05 |