简体   繁体   中英

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 &quot;/hv/header.jsp&quot; 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.

我认为您在文件名中有一个类似注记'char的标记...这可能是原因。

我通过创建一个新的工作区来解决此问题。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM