Message Unable to compile class for JSP
使用 UniEAPWorkshop_5.0运行4.6 的代码,流程新建时出现的错误
JDK 使用C:\Program Files (x86)\Java\jdk1.7.0_80
tomcat使用 apache-tomcat-7.0.91 改成apache-tomcat-6.0.41 解决!
HTTP Status 500 – Internal Server Error -------------------------------------------------------------------------------- Type Exception Report Message Unable to compile class for JSP Description The server encountered an unexpected condition that prevented it from fulfilling the request. Exception org.apache.jasper.JasperException: Unable to compile class for JSP org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:675) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:378) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339) javax.servlet.http.HttpServlet.service(HttpServlet.java:731) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) com.neusoft.uniflow.web.security.WorkflowContextIntegrationFilter.doFilterHttp(WorkflowContextIntegrationFilter.java:58) org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:96) com.neusoft.report.server.util.fw.ReportFWFilter.doFilter(Unknown Source) org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378) com.neusoft.unieap.techcomp.security.intercept.filter.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:125) com.neusoft.unieap.techcomp.security.intercept.filter.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:86) org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) com.neusoft.unieap.techcomp.security.ui.webapp.WebServiceFilter.doFilter(WebServiceFilter.java:101) org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) com.neusoft.unieap.techcomp.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:150) org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) com.neusoft.unieap.techcomp.security.filter.ChannelProcessingFilter.doFilterHttp(ChannelProcessingFilter.java:25) org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:278) org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) com.neusoft.unieap.techcomp.security.accountpolicy.AccountPolicyFilter.doFilter(AccountPolicyFilter.java:82) org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) org.springframework.security.ui.logout.LogoutFilter.doFilterHttp(LogoutFilter.java:89) org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) com.neusoft.unieap.techcomp.security.concurrent.ConcurrentSessionFilter.doFilterHttp(ConcurrentSessionFilter.java:102) org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) com.neusoft.unieap.techcomp.security.ui.webapp.JCaptchaProcessingFilter.doFilter(JCaptchaProcessingFilter.java:82) org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) com.neusoft.unieap.techcomp.security.filter.SpecialCharFilter.doFilter(SpecialCharFilter.java:195) org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) com.neusoft.unieap.techcomp.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:241) org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175) org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99) com.neusoft.unieap.core.filter.UniEAPContextIntegrationFilter.doFilter(UniEAPContextIntegrationFilter.java:123) com.neusoft.unieap.core.filter.IEModeFilter.doFilter(IEModeFilter.java:58) org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:85) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) Root Cause java.lang.IllegalArgumentException: Page directive: invalid value for import org.apache.jasper.compiler.Node$PageDirective.validateImport(Node.java:628) org.apache.jasper.compiler.Node$PageDirective.addImport(Node.java:609) org.apache.jasper.compiler.Parser.parsePageDirective(Parser.java:352) org.apache.jasper.compiler.Parser.parseDirective(Parser.java:473) org.apache.jasper.compiler.Parser.parseFileDirectives(Parser.java:1773) org.apache.jasper.compiler.Parser.parse(Parser.java:135) org.apache.jasper.compiler.ParserController.doParse(ParserController.java:242) org.apache.jasper.compiler.ParserController.parseDirectives(ParserController.java:119) org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:194) org.apache.jasper.compiler.Compiler.compile(Compiler.java:374) org.apache.jasper.compiler.Compiler.compile(Compiler.java:354) org.apache.jasper.compiler.Compiler.compile(Compiler.java:341) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:660) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:378) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339) javax.servlet.http.HttpServlet.service(HttpServlet.java:731) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) com.neusoft.uniflow.web.security.WorkflowContextIntegrationFilter.doFilterHttp(WorkflowContextIntegrationFilter.java:58) org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:96) com.neusoft.report.server.util.fw.ReportFWFilter.doFilter(Unknown Source) org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378) com.neusoft.unieap.techcomp.security.intercept.filter.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:125) com.neusoft.unieap.techcomp.security.intercept.filter.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:86) org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) com.neusoft.unieap.techcomp.security.ui.webapp.WebServiceFilter.doFilter(WebServiceFilter.java:101) org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) com.neusoft.unieap.techcomp.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:150) org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) com.neusoft.unieap.techcomp.security.filter.ChannelProcessingFilter.doFilterHttp(ChannelProcessingFilter.java:25) org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:278) org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) com.neusoft.unieap.techcomp.security.accountpolicy.AccountPolicyFilter.doFilter(AccountPolicyFilter.java:82) org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) org.springframework.security.ui.logout.LogoutFilter.doFilterHttp(LogoutFilter.java:89) org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) com.neusoft.unieap.techcomp.security.concurrent.ConcurrentSessionFilter.doFilterHttp(ConcurrentSessionFilter.java:102) org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) com.neusoft.unieap.techcomp.security.ui.webapp.JCaptchaProcessingFilter.doFilter(JCaptchaProcessingFilter.java:82) org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) com.neusoft.unieap.techcomp.security.filter.SpecialCharFilter.doFilter(SpecialCharFilter.java:195) org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) com.neusoft.unieap.techcomp.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:241) org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175) org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99) com.neusoft.unieap.core.filter.UniEAPContextIntegrationFilter.doFilter(UniEAPContextIntegrationFilter.java:123) com.neusoft.unieap.core.filter.IEModeFilter.doFilter(IEModeFilter.java:58) org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:85) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) Note The full stack trace of the root cause is available in the server logs. -------------------------------------------------------------------------------- Apache Tomcat/7.0.91