Web/기타 [web]web.xml의 태그 자동완성이 안될 때 - eclipse 또는 STS에서 spring legacy 프로젝트를 생성 후 web.xml에 무언가를 설정하려 하면 자동완성이 잘 되지 않아 난감할 때가 있다. 어느덧 자동완성에 익숙해진 우리는 이런 경우 손가락이 멈춰버리게 된다. schema의 변경 원인은 web.xml에서 사용하는 namespace들의 값과 schema location이 변경되었기 때문이다. root element인 web-app을 아래와 같이 변경한다. <!--before --> <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" > <!--after--> <web-app version="4.0" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd" id="WebApp_ID" > 이제 반가운 팝업을 다시 확인할 수 있다. 공유하기 URL 복사카카오톡 공유페이스북 공유엑스 공유 게시글 관리 구독하기모두의 코딩 저작자표시 비영리 변경금지 Contents schema의변경 당신이 좋아할만한 콘텐츠 [mustache] spring boot와 mustache 1 2022.03.28 [web] Web server failed to start. Port 8080 was already in use 2022.03.24 웹페이지 액박 대처하기 2020.09.08 web 프로젝트를 maven으로 변경 후 jar가 배포되지 않을 때 처리 2019.10.18 댓글 0 + 이전 댓글 더보기