日期:2014-05-18  浏览次数:20727 次

Jboss 无法编译 JSP 问题
报错信息如下 
org.apache.jasper.JasperException: Unable to compile class for JSP 
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:97) 
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:346) 
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414) 
org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) 
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) 
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) 
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511) 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295) 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) 
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) 
javax.servlet.http.HttpServlet.service(HttpServlet.java:810) 
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069) 
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455) 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279) 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) 
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525) 
javax.servlet.http.HttpServlet.service(HttpServlet.java:717) 
javax.servlet.http.HttpServlet.service(HttpServlet.java:810) 
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069) 
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455) 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279) 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) 
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525) 
javax.servlet.http.HttpServlet.service(HttpServlet.java:717) 
javax.servlet.http.HttpServlet.service(HttpServlet.java:810) 
com.jcss.bg.filters.GeneralFilter.doFilter(GeneralFilter.java:54) 

root cause 

Compile failed; see the compiler error output for details. 
org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:944) 
org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764) 
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382) 
org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) 
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) 
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) 
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511) 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295) 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) 
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) 
javax.servlet.http.HttpServlet.service(HttpServlet.java:810) 
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069) 
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455) 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279) 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) 
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525) 
javax.servlet.http.HttpServlet.service(HttpServlet.java:717) 
javax.servlet.http.HttpServlet.service(HttpServlet.java:810) 
org.apache.struts.action.RequestProcessor.doForwar