본문 바로가기

개발/이클립스(eclipse)

org.apache.jsp.WEB_002dINF.jsps. 에러 해결방법

이클립스 jsp 작업하고


화면을 새로고침 하면 


아래와 같이 404 에러 메시지가 나옵니다.


심각: Exception Processing ErrorPage[errorCode=404, location=/WEB-INF/jsps/?????.jsp]

org.apache.jasper.JasperException: java.lang.ClassNotFoundException: org.apache.jsp.WEB_002dINF.jsps.?????_jsp

at org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:177)

at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)

at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)

at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)

at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:489)

at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)

at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)

at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:467)

at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:338)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)

at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)

at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)

at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)

at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)

at java.lang.Thread.run(Thread.java:662)


원인은 jsp 파일이 java파일로 변환되고 class 파일로 만들어지고 빌드 되는 과정 중에 에러가 나는 것인가 봅니다?


해결 방법은 이클립스 stop 하고 다시 start 하는 방법이 있고, 이 방법 뿐 일지는 모르겠네요 ㅠ