首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 软件管理 > 软件架构设计 >

jbpm4与struts2调整包冲突

2013-09-11 
jbpm4与struts2整合包冲突jbpm4与struts2整合包冲突错误如下:description The server encountered an inte

jbpm4与struts2整合包冲突
jbpm4与struts2整合包冲突错误如下:

description The server encountered an internal error () that prevented it from fulfilling this request.exceptionjavax.servlet.ServletException: java.lang.LinkageError: loader constraint violation: when resolving interface method "javax.servlet.jsp.JspApplicationContext.getExpressionFactory()Ljavax/el/ExpressionFactory;" the class loader (instance of org/apache/jasper/servlet/JasperLoader) of the current class, org/apache/jsp/login_jsp, and the class loader (instance of org/apache/catalina/loader/StandardClassLoader) for resolved class, javax/servlet/jsp/JspApplicationContext, have different Class objects for the type javax/el/ExpressionFactory used in the signatureorg.apache.jasper.servlet.JspServlet.service(JspServlet.java:274)javax.servlet.http.HttpServlet.service(HttpServlet.java:803)root causejava.lang.LinkageError: loader constraint violation: when resolving interface method "javax.servlet.jsp.JspApplicationContext.getExpressionFactory()Ljavax/el/ExpressionFactory;" the class loader (instance of org/apache/jasper/servlet/JasperLoader) of the current class, org/apache/jsp/login_jsp, and the class loader (instance of org/apache/catalina/loader/StandardClassLoader) for resolved class, javax/servlet/jsp/JspApplicationContext, have different Class objects for the type javax/el/ExpressionFactory used in the signatureorg.apache.jsp.login_jsp._jspInit(login_jsp.java:21)org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:80)org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:157)org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:320)org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)javax.servlet.http.HttpServlet.service(HttpServlet.java:803)


解决办法:
1。 juel.jar,juel-engine.jar,juel-impl.jar把jbpm下的这3个包剪切到tomcat/lib下。
2。 删除tomcat/lib/el-api.jar包 1 楼 yefansiping 2011-08-18   貌似不行啊
我的异常网推荐解决方案:The server encountered an internal error () that prevented it from fulfilling this request.,http://www.myexception.cn/java-web/317.html

热点排行