我是靠谱客的博主 魁梧钢笔,最近开发中收集的这篇文章主要介绍启动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/jspindex_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:UsersADMINI~1AppDataLocalTempJetty_0_0_0_0_8081_WebRoot____ag5q3ejsp;null
Generated servlet error:
cp=E:MyWorkspacecfJavaEEPlaybuildclasses;E:MyWorkspacecfJavaEEPlayWebRootWEB-INFlibcommons-beanutils.jar;E:MyWorkspacecfJavaEEPlayWebRootWEB-INFlibcommons-logging-1.1.jar;E:MyWorkspacecfJavaEEPlayWebRootWEB-INFlibflexjson-2.0.jar;E:MyWorkspacecfJavaEEPlayWebRootWEB-INFlibfreemarker-2.3.8.jar;E:MyWorkspacecfJavaEEPlayWebRootWEB-INFlibjson.jar;E:MyWorkspacecfJavaEEPlayWebRootWEB-INFlibjstl.jar;E:MyWorkspacecfJavaEEPlayWebRootWEB-INFlibjtds-1.2.2.jar;E:MyWorkspacecfJavaEEPlayWebRootWEB-INFlibmysql-connector-java-5.1.6-bin.jar;E:MyWorkspacecfJavaEEPlayWebRootWEB-INFlibognl-2.6.11.jar;E:MyWorkspacecfJavaEEPlayWebRootWEB-INFlibstandard.jar;E:MyWorkspacecfJavaEEPlayWebRootWEB-INFlibstruts2-core-2.0.6.jar;E:MyWorkspacecfJavaEEPlayWebRootWEB-INFlibxwork-2.0.1.jar;E:MyWorkspacecfJavaEEPlayWebRootWEB-INFclasses;E:MyWorkspacecfJavaEEPlayjettyant-1.6.5.jar;E:MyWorkspacecfJavaEEPlayjettycommons-el.jar;E:MyWorkspacecfJavaEEPlayjettycommons-lang-2.3.jar;E:MyWorkspacecfJavaEEPlayjettyel-api.jar;E:MyWorkspacecfJavaEEPlayjettyjasper-compiler.jar;E:MyWorkspacecfJavaEEPlayjettyjasper-runtime.jar;E:MyWorkspacecfJavaEEPlayjettyjaxb-impl-2.0.5.jar;E:MyWorkspacecfJavaEEPlayjettyjetty-6.1.24.jar;E:MyWorkspacecfJavaEEPlayjettyjetty-util-6.1.24.jar;E:MyWorkspacecfJavaEEPlayjettyjsp-2.1-core-3.1.1.jar;E:MyWorkspacecfJavaEEPlayjettyjsp-2.1-jetty-6.1.24.jar;E:MyWorkspacecfJavaEEPlayjettyjsp-api.jar;E:MyWorkspacecfJavaEEPlayjettyjstl-1.2.jar;E:MyWorkspacecfJavaEEPlayjettyservlet-api-2.5-6.1.3.jar;E:MyWorkspacecfJavaEEPlayjettystandard-1.0.2.jar
cp=E:MyWorkspacecfJavaEEPlayWebRootWEB-INFclasses
cp=E:MyWorkspacecfJavaEEPlayWebRootWEB-INFlibcommons-beanutils.jar
cp=E:MyWorkspacecfJavaEEPlayWebRootWEB-INFlibcommons-logging-1.1.jar
cp=E:MyWorkspacecfJavaEEPlayWebRootWEB-INFlibflexjson-2.0.jar
cp=E:MyWorkspacecfJavaEEPlayWebRootWEB-INFlibfreemarker-2.3.8.jar
cp=E:MyWorkspacecfJavaEEPlayWebRootWEB-INFlibjson.jar
cp=E:MyWorkspacecfJavaEEPlayWebRootWEB-INFlibjstl.jar
cp=E:MyWorkspacecfJavaEEPlayWebRootWEB-INFlibjtds-1.2.2.jar
cp=E:MyWorkspacecfJavaEEPlayWebRootWEB-INFlibmysql-connector-java-5.1.6-bin.jar
cp=E:MyWorkspacecfJavaEEPlayWebRootWEB-INFlibognl-2.6.11.jar
cp=E:MyWorkspacecfJavaEEPlayWebRootWEB-INFlibstandard.jar
cp=E:MyWorkspacecfJavaEEPlayWebRootWEB-INFlibstruts2-core-2.0.6.jar
cp=E:MyWorkspacecfJavaEEPlayWebRootWEB-INFlibxwork-2.0.1.jar
cp=C:UsersADMINI~1AppDataLocalTempJetty_0_0_0_0_8081_WebRoot____ag5q3ejsp
cp=null
work dir=C:UsersADMINI~1AppDataLocalTempJetty_0_0_0_0_8081_WebRoot____ag5q3ejsp
Generated servlet error:
extension dir=D:Program FilesJavajdk1.6.0_11jrelibext;C:WindowsSunJavalibext
srcDir=C:UsersADMINI~1AppDataLocalTempJetty_0_0_0_0_8081_WebRoot____ag5q3ejsp
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/jspindex_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:UsersADMINI~1AppDataLocalTempJetty_0_0_0_0_8081_WebRoot____ag5q3ejsp;null
Generated servlet error:
cp=E:MyWorkspacecfJavaEEPlaybuildclasses;E:MyWorkspacecfJavaEEPlayWebRootWEB-INFlibcommons-beanutils.jar;E:MyWorkspacecfJavaEEPlayWebRootWEB-INFlibcommons-logging-1.1.jar;E:MyWorkspacecfJavaEEPlayWebRootWEB-INFlibflexjson-2.0.jar;E:MyWorkspacecfJavaEEPlayWebRootWEB-INFlibfreemarker-2.3.8.jar;E:MyWorkspacecfJavaEEPlayWebRootWEB-INFlibjson.jar;E:MyWorkspacecfJavaEEPlayWebRootWEB-INFlibjstl.jar;E:MyWorkspacecfJavaEEPlayWebRootWEB-INFlibjtds-1.2.2.jar;E:MyWorkspacecfJavaEEPlayWebRootWEB-INFlibmysql-connector-java-5.1.6-bin.jar;E:MyWorkspacecfJavaEEPlayWebRootWEB-INFlibognl-2.6.11.jar;E:MyWorkspacecfJavaEEPlayWebRootWEB-INFlibstandard.jar;E:MyWorkspacecfJavaEEPlayWebRootWEB-INFlibstruts2-core-2.0.6.jar;E:MyWorkspacecfJavaEEPlayWebRootWEB-INFlibxwork-2.0.1.jar;E:MyWorkspacecfJavaEEPlayWebRootWEB-INFclasses;E:MyWorkspacecfJavaEEPlayjettyant-1.6.5.jar;E:MyWorkspacecfJavaEEPlayjettycommons-el.jar;E:MyWorkspacecfJavaEEPlayjettycommons-lang-2.3.jar;E:MyWorkspacecfJavaEEPlayjettyel-api.jar;E:MyWorkspacecfJavaEEPlayjettyjasper-compiler.jar;E:MyWorkspacecfJavaEEPlayjettyjasper-runtime.jar;E:MyWorkspacecfJavaEEPlayjettyjaxb-impl-2.0.5.jar;E:MyWorkspacecfJavaEEPlayjettyjetty-6.1.24.jar;E:MyWorkspacecfJavaEEPlayjettyjetty-util-6.1.24.jar;E:MyWorkspacecfJavaEEPlayjettyjsp-2.1-core-3.1.1.jar;E:MyWorkspacecfJavaEEPlayjettyjsp-2.1-jetty-6.1.24.jar;E:MyWorkspacecfJavaEEPlayjettyjsp-api.jar;E:MyWorkspacecfJavaEEPlayjettyjstl-1.2.jar;E:MyWorkspacecfJavaEEPlayjettyservlet-api-2.5-6.1.3.jar;E:MyWorkspacecfJavaEEPlayjettystandard-1.0.2.jar
cp=E:MyWorkspacecfJavaEEPlayWebRootWEB-INFclasses
cp=E:MyWorkspacecfJavaEEPlayWebRootWEB-INFlibcommons-beanutils.jar
cp=E:MyWorkspacecfJavaEEPlayWebRootWEB-INFlibcommons-logging-1.1.jar
cp=E:MyWorkspacecfJavaEEPlayWebRootWEB-INFlibflexjson-2.0.jar
cp=E:MyWorkspacecfJavaEEPlayWebRootWEB-INFlibfreemarker-2.3.8.jar
cp=E:MyWorkspacecfJavaEEPlayWebRootWEB-INFlibjson.jar
cp=E:MyWorkspacecfJavaEEPlayWebRootWEB-INFlibjstl.jar
cp=E:MyWorkspacecfJavaEEPlayWebRootWEB-INFlibjtds-1.2.2.jar
cp=E:MyWorkspacecfJavaEEPlayWebRootWEB-INFlibmysql-connector-java-5.1.6-bin.jar
cp=E:MyWorkspacecfJavaEEPlayWebRootWEB-INFlibognl-2.6.11.jar
cp=E:MyWorkspacecfJavaEEPlayWebRootWEB-INFlibstandard.jar
cp=E:MyWorkspacecfJavaEEPlayWebRootWEB-INFlibstruts2-core-2.0.6.jar
cp=E:MyWorkspacecfJavaEEPlayWebRootWEB-INFlibxwork-2.0.1.jar
cp=C:UsersADMINI~1AppDataLocalTempJetty_0_0_0_0_8081_WebRoot____ag5q3ejsp
cp=null
work dir=C:UsersADMINI~1AppDataLocalTempJetty_0_0_0_0_8081_WebRoot____ag5q3ejsp
Generated servlet error:
extension dir=D:Program FilesJavajdk1.6.0_11jrelibext;C:WindowsSunJavalibext
srcDir=C:UsersADMINI~1AppDataLocalTempJetty_0_0_0_0_8081_WebRoot____ag5q3ejsp
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的全部内容,希望文章能够帮你解决启动jetty,打开JSP页面报错:Unable to compile class for JSP所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复