Hot Deploy with Eclipse & Tomcat throwing ServletException
I've had it working and then made some style changes and it seemed to stop (<- might be a red herring). The file /hv/header.jsp hasn't moved and eclipse can still find it.
javax.servlet.ServletException: File "/hv/header.jsp" not found
at org.apache.jasper.servlet.JspServlet.handleMissingResource(JspServlet.java:335)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.开发者_运维知识库catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
at org.apache.jsp.layout_002d4area_jsp._jspx_meth_c_005fimport_005f0(layout_002d4area_jsp.java:1332)
at org.apache.jsp.layout_002d4area_jsp._jspx_meth_c_005fforEach_005f1(layout_002d4area_jsp.java:605)
...
I shortened the stack track but can paste the entire one.
i think you have a tag like note the ' char in the file name... this is probably the cause.
I fixed this by making a new workspace.
精彩评论