可能重复:
intermittent ClassNotFoundException for JSP using eclipse
我有一个动态Web项目,它使用Jersey返回可查看的JSP。我启动我的服务器(tomcat 7 / java 1.6),然后点击我的URL并看到下面的错误。我知道代码没有任何问题,因为如果我杀死服务器并重新启动它,一切正常。我的应用程序部署了一个上下文根“/”,我需要它保持这种方式。这是杀死我的生产力......还是有人用eclipse / WTP看到这个错误吗?
javax.servlet.ServletException:com.sun.jersey.api.container.ContainerException:org.apache.jasper.JasperException:java.lang.ClassNotFoundException:org.apache.jsp.WEB_002dINF.jsp.sales.annualAllocation_jsp com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:425) com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538) com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:910) com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:858) com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:812) com.purduefed.filters.AuthorizationFilter.doFilter(AuthorizationFilter.java:47) org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259) org.jasig.cas.client.util.HttpServletRequestWrapperFilter.doFilter(HttpServletRequestWrapperFilter.java:62) org.jasig.cas.client.validation.AbstractTicketValidationFilter.doFilter(AbstractTicketValidationFilter.java:196) org.jasig.cas.client.authentication.AuthenticationFilter.doFilter(AuthenticationFilter.java:93)