min's devlog
[Spring] cvc-id.3: A field of identity constraint... 본문
문제
Eclipse> 윈도우> Markers
Description
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.
Resource
web.xml
Path
/Spring/src/main/webapp/WEB-INF
Location
line 80
Type
Language Servers
해결
web.xml 내의
<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">
부분에서
xmlns="http://java.sun.com/xml/ns/javaee" 의 java를
xmlns="http://Java.sun.com/xml/ns/javaee" 또는
xmlns="http://JAVA.sun.com/xml/ns/javaee" 로 변경하면 해결할 수 있다.
출처
stackoverflow
https://stackoverflow.com/questions/3219639/cvc-id-3-error-in-web-xml
'Error Note' 카테고리의 다른 글
[Spring] error : spring 404 (0) | 2022.08.09 |
---|---|
[Java] java.lang.OutOfMemoryError (0) | 2022.07.28 |
[JSP] "javax.servlet.http.HttpServlet" was not found (0) | 2022.07.26 |
[JSP] HTTP 상태코드 (0) | 2022.07.05 |
java.sql.SQLException: No timezone mapping entry for 'KST' (0) | 2022.07.04 |