tomcat部署jbpm项目 loader constraint violation

当tomcat部署jbpm项目 时,启动项目控制台出错

javax.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/OnDuty/wfmanage_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 signature 
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:275) 
javax.servlet.http.HttpServlet.service(HttpServlet.java:717) 

root cause .....

 

参照兄弟博客:
解决方法:将WEB-INF/lib文件下的juel.jar,juel-engine.jar,juel-impl.jar剪切到tomcat安装目录下的lib目录下,同时删除lib目录下的el-api.jar
可以解决问题。
再次启动项目,控制台出现

2011-2-11 14:18:20 org.hibernate.type.NullableType nullSafeSet
最好: binding '0' to parameter: 1
2011-2-11 14:18:20 org.hibernate.type.NullableType nullSafeSet
最好: binding '1' to parameter: 2
2011-2-11 14:18:20 org.hibernate.type.NullableType nullSafeSet
最好: binding 'next.dbid' to parameter: 3
2011-2-11 14:18:20 org.jbpm.internal.log.Jdk14Log debug
良好: ----- committing hibernate tx 33228044 -------------------------------------------------------
2011-2-11 14:18:20 org.jbpm.internal.log.Jdk14Log debug
良好: ----- beginning hibernate tx 8979901 --------------------------------------------------------

代表jbpm项目可以正常运行了

你可能感兴趣的:(tomcat,Hibernate,jsp,servlet,jbpm)