解决办法:
删除lib中jar包:el-api.jar
问题根源:包冲突引起的,这个类javax/el/ExpressionFactory,在myeclipse的javaee.jar中有,在tomcat的el-api.jar中有,在jpbm的juel.jar中有。
报错如下:
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/index_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 avax/el/ExpressionFactory; used in the signature