CHKJ3008E: Missing or invalid WAR file.




오랜만에 예전에 만들었던 소스를 정리하는데, 웹 프로젝트에서 아래와 같은 문제가 발생했습니다.







CHKJ3008E: Missing or invalid WAR file.










검색을 해보니 WEB-INF 와 WEB-INF/web.xml 이 없거나 문제가 있을 때 발생한다고 합니다.
















CHKJ3008

Missing or invalid WAR file.


The web.xml file cannot be loaded. The project metadata cannot be initialized from the web.xml file.



1. Ensure the following:



- that the WEB-INF folder exists in the web project



- that WEB-INF contains the web.xml file



- that WEB-INF is in the project's classpath.



2. Validate the syntax of the web.xml file: in the Navigator view, highlight the web.xml file, right-click, and select Validate XML file.



3. If both 1) and 2) are okay, close the project, reopen the project, and rebuild the project. The project metadata will refresh.



출처:

http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.jst.j2ee.doc.user%2Ftopics%2Frvalerr.html










위에 2) 에서 설명한 대로 web.xml 을 Valaidate 시켰더니 문제가 해결되네요 =ㅁ=!!!











댓글

가장 많이 본 글