日期:2014-05-20  浏览次数:20759 次

在线坐等大神解决!
Java code

2011-11-30 15:36:16,875 FATAL (JspFactoryImpl.java:109) - Exception initializing page context
java.lang.VerifyError: (class: org/apache/jasper/runtime/PageContextImpl, method: getExpressionEvaluator signature: ()Ljavax/servlet/jsp/el/ExpressionEvaluator;) Wrong return type in function
    at org.apache.jasper.runtime.JspFactoryImpl.internalGetPageContext(JspFactoryImpl.java:99)
    at org.apache.jasper.runtime.JspFactoryImpl.getPageContext(JspFactoryImpl.java:61)
    at org.apache.jsp.sample.main.style1.login_jsp._jspService(org.apache.jsp.sample.main.style1.login_jsp:49)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)



小弟从别人那里拷过来一个项目,然后在本机部署,报的错误,网上搜过,JDK版本一致,tomcat里面也没有重复的jar包,右击项目名然后Properties 然后 java build path里面的包没有打叉的,请问谁遇到过,求解决,谢谢了!

------解决方案--------------------
如果web.xml里有注释,<!-- -->,删掉
不行的话找个别的工程放tomcat里试试,看是不是tomcat问题
------解决方案--------------------
先看看是不是tomcat的问题,可以换一个试试
------解决方案--------------------
可能是myeclipse和tomcat整合的问题....
建议,如果行的话,换一个先试试,