티스토리 뷰
ERROR/SQL
[web.xml]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.
onlyun 2022. 3. 16. 22:30
[Error 발생]
웹 프로젝트 생성하고 maven update 후에 에러 표시 사라졌음.
근데,
pom.xml에 라이브러리 추가하고 - 자바 버전 변경/서블릿 버전 변경 / 각종 필요한 라이브러리 추가 등등
web.xml에 한글 깨짐 처리 필터 추가하는 과정에서 에러 발생
[Error 내용]
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. |
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. |
└위에 것은 서블릿 버전 변경하면서 생긴 것 같고
└아래 것은 한글 필터 때문에 생긴 것 같음
[해결 방법]
블럭 표시한 부분(…http://java.sun.com/xml…)을
xsi:schemaLocation="http://Java.sun.com/xml/ns/javaee
또는
xsi:schemaLocation="http://JAVA.sun.com/xml/ns/javaee
로 바꾸면 에러 사라짐.
'ERROR > SQL' 카테고리의 다른 글
the string "--" is not permitted within comments (0) | 2022.03.18 |
---|---|
[MySQL]외래키 관련 - 설정/더미 데이터 입력 (0) | 2022.03.17 |
localhost are already in use (0) | 2022.03.15 |
CONSOLE PERFORMANCE WARNING : Console buffer size too low (0) | 2022.03.08 |
junit error (0) | 2022.03.08 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- html
- initialized
- 스크립태그
- 미디어 태그
- typeof
- 변수
- css
- caption-side
- 기본선택자
- html base tag
- 입력양식
- html atrribute
- html pre
- CascadingStyleSheet
- Java
- A%B
- text formatting
- scanner
- html input type
- html a tag
- border-spacing
- 외부구성요소
- BAEKJOON
- improt
- JavaScript
- ScriptTag
- selcetor
- input type 종류
- empty-cell
- html layout
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
글 보관함