毕业论文开发语言企业开发JAVA技术.NET技术WEB开发Linux/Unix数据库技术Windows平台移动平台嵌入式论文范文英语论文
您现在的位置: 毕业论文 >> java技术 >> 正文

在jetty下不能跑jsp

更新时间:2012-8-12:  来源:毕业论文

软件已经打包放在webapps的目录下,jetty自带的test目录下没有问题
但运行我的project下的jsp就会挂起
出现以下错误
软件用jdk1.6编译,在eclipse下编译和运行都没有问题,但部署后有问题,用的JSP2.1,可能是哪方面的原因

Java code2010-03-16 16:25:59.437:org.apache.jasper.runtime.JspFactoryImpl:WARN:  Exception initializing page context  java.lang.VerifyError: (class: org/apache/jasper/runtime/PageContextImpl, method  : getELResolver signature: ()Ljavax/el/ELResolver;) Incompatible argument to fun  ction          at org.apache.jasper.runtime.JspFactoryImpl.internalGetPageContext(JspFa  ctoryImpl.java:119)          at org.apache.jasper.runtime.JspFactoryImpl.getPageContext(JspFactoryImp  l.java:76)          at org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:35)          at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)          at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)          at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper  .java:373)          at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:4  64)          at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:358)          at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)          at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502  )          at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet  Handler.java:1124)          at com.flextao.core.persistence.hibernate.SessionPerRequestFilter$1.exec  ute(SessionPerRequestFilter.java:34)          at com.flextao.core.persistence.hibernate.TransactionWrapper.withTransac  tion(TransactionWrapper.java:48)          at com.flextao.core.persistence.hibernate.SessionPerRequestFilter.doFilt  er(SessionPerRequestFilter.java:32)          at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet  Handler.java:1115)          at org.springframework.web.filter.CharacterEncodingFilter.doFilterIntern  al(CharacterEncodingFilter.java:96)          at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerR  equestFilter.java:76)          at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet  Handler.java:1115)          at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:3  61)          at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.jav  a:216)          at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:1  81)          at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:7  66)          at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)            at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHand  lerCollection.java:230)          at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.  java:114)          at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:1  52)          at org.mortbay.jetty.Server.handle(Server.java:324)          at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:53  4)          at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpCo  nnection.java:864)          at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:533)          at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:207)          at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403)          at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.ja  va:409)          at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.j  ava:522)

http-://blog.csdn-.net/wiwipetter/archive/2009/08/13/4442187.aspx
http-://lists.topazproject-.org/pipermail/topaz-dev/2009-March/000797.html
版本不兼容,看看jetty的版本吧 

设为首页 | 联系站长 | 友情链接 | 网站地图 |

copyright©youerw.com 优尔论文网 严禁转载
如果本毕业论文网损害了您的利益或者侵犯了您的权利,请及时联系,我们一定会及时改正。