启动jetty,打开JSP页面报错:Unable to compile class for JSP

启动jetty后,打开JSP页面报错:

Unable to compile class for JSP

 

解决方法:

为项目加入JDK的tools.jar即可

 

报错信息如下:

HTTP ERROR 500
Problem accessing /. Reason: 

    Unable to compile class for JSP

Generated servlet error:
2011-12-10 19:37:07 org.apache.jasper.compiler.Compiler generateClass
??: Javac exception 
Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
	at org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(CompilerAdapterFactory.java:105)
	at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:924)
	at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:757)
	at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
	at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)
	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
	at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:327)
	at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
	at org.mortbay.jetty.servlet.DefaultServlet.doGet(DefaultServlet.java:500)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
	at cn.chenfeng.Filter.PageTimersFilter.doFilter(PageTimersFilter.java:46)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:326)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:926)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
	at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)


Generated servlet error:
2011-12-10 19:37:07 org.apache.jasper.compiler.Compiler generateClass


Generated servlet error:
??: Env: Compile: javaFileName=/C:/Users/ADMINI~1/AppData/Local/Temp/Jetty_0_0_0_0_8081_WebRoot____ag5q3e/jsp//org/apache/jsp\index_jsp.java


Generated servlet error:
    classpath=/E:/MyWorkspace/cfJavaEEPlay/WebRoot/WEB-INF/classes/;/E:/MyWorkspace/cfJavaEEPlay/WebRoot/WEB-INF/lib/commons-beanutils.jar;/E:/MyWorkspace/cfJavaEEPlay/WebRoot/WEB-INF/lib/commons-logging-1.1.jar;/E:/MyWorkspace/cfJavaEEPlay/WebRoot/WEB-INF/lib/flexjson-2.0.jar;/E:/MyWorkspace/cfJavaEEPlay/WebRoot/WEB-INF/lib/freemarker-2.3.8.jar;/E:/MyWorkspace/cfJavaEEPlay/WebRoot/WEB-INF/lib/json.jar;/E:/MyWorkspace/cfJavaEEPlay/WebRoot/WEB-INF/lib/jstl.jar;/E:/MyWorkspace/cfJavaEEPlay/WebRoot/WEB-INF/lib/jtds-1.2.2.jar;/E:/MyWorkspace/cfJavaEEPlay/WebRoot/WEB-INF/lib/mysql-connector-java-5.1.6-bin.jar;/E:/MyWorkspace/cfJavaEEPlay/WebRoot/WEB-INF/lib/ognl-2.6.11.jar;/E:/MyWorkspace/cfJavaEEPlay/WebRoot/WEB-INF/lib/standard.jar;/E:/MyWorkspace/cfJavaEEPlay/WebRoot/WEB-INF/lib/struts2-core-2.0.6.jar;/E:/MyWorkspace/cfJavaEEPlay/WebRoot/WEB-INF/lib/xwork-2.0.1.jar;C:\Users\ADMINI~1\AppData\Local\Temp\Jetty_0_0_0_0_8081_WebRoot____ag5q3e\jsp;null


Generated servlet error:
    cp=E:\MyWorkspace\cfJavaEEPlay\build\classes;E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\lib\commons-beanutils.jar;E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\lib\commons-logging-1.1.jar;E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\lib\flexjson-2.0.jar;E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\lib\freemarker-2.3.8.jar;E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\lib\json.jar;E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\lib\jstl.jar;E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\lib\jtds-1.2.2.jar;E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\lib\mysql-connector-java-5.1.6-bin.jar;E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\lib\ognl-2.6.11.jar;E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\lib\standard.jar;E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\lib\struts2-core-2.0.6.jar;E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\lib\xwork-2.0.1.jar;E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\classes;E:\MyWorkspace\cfJavaEEPlay\jetty\ant-1.6.5.jar;E:\MyWorkspace\cfJavaEEPlay\jetty\commons-el.jar;E:\MyWorkspace\cfJavaEEPlay\jetty\commons-lang-2.3.jar;E:\MyWorkspace\cfJavaEEPlay\jetty\el-api.jar;E:\MyWorkspace\cfJavaEEPlay\jetty\jasper-compiler.jar;E:\MyWorkspace\cfJavaEEPlay\jetty\jasper-runtime.jar;E:\MyWorkspace\cfJavaEEPlay\jetty\jaxb-impl-2.0.5.jar;E:\MyWorkspace\cfJavaEEPlay\jetty\jetty-6.1.24.jar;E:\MyWorkspace\cfJavaEEPlay\jetty\jetty-util-6.1.24.jar;E:\MyWorkspace\cfJavaEEPlay\jetty\jsp-2.1-core-3.1.1.jar;E:\MyWorkspace\cfJavaEEPlay\jetty\jsp-2.1-jetty-6.1.24.jar;E:\MyWorkspace\cfJavaEEPlay\jetty\jsp-api.jar;E:\MyWorkspace\cfJavaEEPlay\jetty\jstl-1.2.jar;E:\MyWorkspace\cfJavaEEPlay\jetty\servlet-api-2.5-6.1.3.jar;E:\MyWorkspace\cfJavaEEPlay\jetty\standard-1.0.2.jar
    cp=E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\classes
    cp=E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\lib\commons-beanutils.jar
    cp=E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\lib\commons-logging-1.1.jar
    cp=E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\lib\flexjson-2.0.jar
    cp=E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\lib\freemarker-2.3.8.jar
    cp=E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\lib\json.jar
    cp=E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\lib\jstl.jar
    cp=E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\lib\jtds-1.2.2.jar
    cp=E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\lib\mysql-connector-java-5.1.6-bin.jar
    cp=E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\lib\ognl-2.6.11.jar
    cp=E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\lib\standard.jar
    cp=E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\lib\struts2-core-2.0.6.jar
    cp=E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\lib\xwork-2.0.1.jar
    cp=C:\Users\ADMINI~1\AppData\Local\Temp\Jetty_0_0_0_0_8081_WebRoot____ag5q3e\jsp
    cp=null
    work dir=C:\Users\ADMINI~1\AppData\Local\Temp\Jetty_0_0_0_0_8081_WebRoot____ag5q3e\jsp


Generated servlet error:
    extension dir=D:\Program Files\Java\jdk1.6.0_11\jre\lib\ext;C:\Windows\Sun\Java\lib\ext
    srcDir=C:\Users\ADMINI~1\AppData\Local\Temp\Jetty_0_0_0_0_8081_WebRoot____ag5q3e\jsp
    include=org/apache/jsp/index_jsp.java





Caused by:
org.apache.jasper.JasperException: Unable to compile class for JSP

Generated servlet error:
2011-12-10 19:37:07 org.apache.jasper.compiler.Compiler generateClass
??: Javac exception 
Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
	at org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(CompilerAdapterFactory.java:105)
	at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:924)
	at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:757)
	at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
	at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)
	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
	at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:327)
	at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
	at org.mortbay.jetty.servlet.DefaultServlet.doGet(DefaultServlet.java:500)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
	at cn.chenfeng.Filter.PageTimersFilter.doFilter(PageTimersFilter.java:46)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:326)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:926)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
	at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)


Generated servlet error:
2011-12-10 19:37:07 org.apache.jasper.compiler.Compiler generateClass


Generated servlet error:
??: Env: Compile: javaFileName=/C:/Users/ADMINI~1/AppData/Local/Temp/Jetty_0_0_0_0_8081_WebRoot____ag5q3e/jsp//org/apache/jsp\index_jsp.java


Generated servlet error:
    classpath=/E:/MyWorkspace/cfJavaEEPlay/WebRoot/WEB-INF/classes/;/E:/MyWorkspace/cfJavaEEPlay/WebRoot/WEB-INF/lib/commons-beanutils.jar;/E:/MyWorkspace/cfJavaEEPlay/WebRoot/WEB-INF/lib/commons-logging-1.1.jar;/E:/MyWorkspace/cfJavaEEPlay/WebRoot/WEB-INF/lib/flexjson-2.0.jar;/E:/MyWorkspace/cfJavaEEPlay/WebRoot/WEB-INF/lib/freemarker-2.3.8.jar;/E:/MyWorkspace/cfJavaEEPlay/WebRoot/WEB-INF/lib/json.jar;/E:/MyWorkspace/cfJavaEEPlay/WebRoot/WEB-INF/lib/jstl.jar;/E:/MyWorkspace/cfJavaEEPlay/WebRoot/WEB-INF/lib/jtds-1.2.2.jar;/E:/MyWorkspace/cfJavaEEPlay/WebRoot/WEB-INF/lib/mysql-connector-java-5.1.6-bin.jar;/E:/MyWorkspace/cfJavaEEPlay/WebRoot/WEB-INF/lib/ognl-2.6.11.jar;/E:/MyWorkspace/cfJavaEEPlay/WebRoot/WEB-INF/lib/standard.jar;/E:/MyWorkspace/cfJavaEEPlay/WebRoot/WEB-INF/lib/struts2-core-2.0.6.jar;/E:/MyWorkspace/cfJavaEEPlay/WebRoot/WEB-INF/lib/xwork-2.0.1.jar;C:\Users\ADMINI~1\AppData\Local\Temp\Jetty_0_0_0_0_8081_WebRoot____ag5q3e\jsp;null


Generated servlet error:
    cp=E:\MyWorkspace\cfJavaEEPlay\build\classes;E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\lib\commons-beanutils.jar;E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\lib\commons-logging-1.1.jar;E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\lib\flexjson-2.0.jar;E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\lib\freemarker-2.3.8.jar;E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\lib\json.jar;E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\lib\jstl.jar;E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\lib\jtds-1.2.2.jar;E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\lib\mysql-connector-java-5.1.6-bin.jar;E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\lib\ognl-2.6.11.jar;E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\lib\standard.jar;E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\lib\struts2-core-2.0.6.jar;E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\lib\xwork-2.0.1.jar;E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\classes;E:\MyWorkspace\cfJavaEEPlay\jetty\ant-1.6.5.jar;E:\MyWorkspace\cfJavaEEPlay\jetty\commons-el.jar;E:\MyWorkspace\cfJavaEEPlay\jetty\commons-lang-2.3.jar;E:\MyWorkspace\cfJavaEEPlay\jetty\el-api.jar;E:\MyWorkspace\cfJavaEEPlay\jetty\jasper-compiler.jar;E:\MyWorkspace\cfJavaEEPlay\jetty\jasper-runtime.jar;E:\MyWorkspace\cfJavaEEPlay\jetty\jaxb-impl-2.0.5.jar;E:\MyWorkspace\cfJavaEEPlay\jetty\jetty-6.1.24.jar;E:\MyWorkspace\cfJavaEEPlay\jetty\jetty-util-6.1.24.jar;E:\MyWorkspace\cfJavaEEPlay\jetty\jsp-2.1-core-3.1.1.jar;E:\MyWorkspace\cfJavaEEPlay\jetty\jsp-2.1-jetty-6.1.24.jar;E:\MyWorkspace\cfJavaEEPlay\jetty\jsp-api.jar;E:\MyWorkspace\cfJavaEEPlay\jetty\jstl-1.2.jar;E:\MyWorkspace\cfJavaEEPlay\jetty\servlet-api-2.5-6.1.3.jar;E:\MyWorkspace\cfJavaEEPlay\jetty\standard-1.0.2.jar
    cp=E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\classes
    cp=E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\lib\commons-beanutils.jar
    cp=E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\lib\commons-logging-1.1.jar
    cp=E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\lib\flexjson-2.0.jar
    cp=E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\lib\freemarker-2.3.8.jar
    cp=E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\lib\json.jar
    cp=E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\lib\jstl.jar
    cp=E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\lib\jtds-1.2.2.jar
    cp=E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\lib\mysql-connector-java-5.1.6-bin.jar
    cp=E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\lib\ognl-2.6.11.jar
    cp=E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\lib\standard.jar
    cp=E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\lib\struts2-core-2.0.6.jar
    cp=E:\MyWorkspace\cfJavaEEPlay\WebRoot\WEB-INF\lib\xwork-2.0.1.jar
    cp=C:\Users\ADMINI~1\AppData\Local\Temp\Jetty_0_0_0_0_8081_WebRoot____ag5q3e\jsp
    cp=null
    work dir=C:\Users\ADMINI~1\AppData\Local\Temp\Jetty_0_0_0_0_8081_WebRoot____ag5q3e\jsp


Generated servlet error:
    extension dir=D:\Program Files\Java\jdk1.6.0_11\jre\lib\ext;C:\Windows\Sun\Java\lib\ext
    srcDir=C:\Users\ADMINI~1\AppData\Local\Temp\Jetty_0_0_0_0_8081_WebRoot____ag5q3e\jsp
    include=org/apache/jsp/index_jsp.java




	at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
	at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:332)
	at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:412)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
	at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)
	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
	at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:327)
	at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
	at org.mortbay.jetty.servlet.DefaultServlet.doGet(DefaultServlet.java:500)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
	at cn.chenfeng.Filter.PageTimersFilter.doFilter(PageTimersFilter.java:46)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:326)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:926)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
	at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

 

 

 

你可能感兴趣的:(启动jetty,打开JSP页面报错:Unable to compile class for JSP)