자바EE 사용하면서 web.xml 파일을 수정하게 되는데 저장하게 되면 오랜 응답시간을 기다려야 한다. 심한 경우 응답없음을 볼 수도 있다. 이는 이클립스의 오랜 버그라고 한다.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=534776
534776 – Saving a web.xml freezes the main thread
CC List: 5 users (show) alain.pannetier hhyygg2009 lrozenblyum stryker thatnitind
bugs.eclipse.org
스택오버플로우에 따르면, web.xml의 xsi:schemaLocation값의 도메인을 변경해주면 현상이 사라진다.
https://stackoverflow.com/questions/13437569/what-does-this-web-xml-error-mean/46161667#46161667
What does this web.xml error mean?
stackoverflow.com
web.xml에서 참조하는 주소값을 변경한다. xmlns.jcp.org를 java.sun.com으로 수정한다.
[이전]
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd"
[변경]
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_4_0.xsd"
'개발' 카테고리의 다른 글
CSS flexbox 디버깅 (0) | 2021.12.07 |
---|---|
API Platform, POSTMAN (0) | 2021.11.16 |
HeidiSQL, 데이터베이스 GUI 관리 툴 (0) | 2021.11.11 |
스프링부트에서 JSP 사용하기 (0) | 2021.11.09 |
[이클립스] enum 멤버 자동 정렬 정지 (0) | 2021.09.16 |
[JAVA] String.format의 %%%ds 의미 (0) | 2021.09.14 |
[C lang] 가위 바위 보 (0) | 2021.08.26 |
nodejs, NPM 설치 (0) | 2020.12.14 |