0
我們已經升級到了Websphere 9以及Camel 2.17,Java8和Spring4。java.lang.NoClassDefFoundError:org.apache.jasper.el.ELContextImpl(初始化失敗)
在封裝內部,我們有以下罐子
camel-jms-2.17.0.jar, camel-juel-2.17.0.jar, camel-spring-2.17.0.jar
裏面我們有如下的罐子被插件文件夾,包含ElContextImpl。
javax.j2ee.el.jar, com.ibm.ws.webcontainer.jar
在點擊url時出現以下異常。不知道什麼被錯過了作爲它是給這個錯誤是否它的版本不匹配,衝突或類路徑問題
com.ibm.ws.webcontainer.webapp.WebApp logServletError SRVE0293E: [Servlet Error]-[WebExtensionProcessor]: java.lang.NoClassDefFoundError: org.apache.jasper.el.ELContextImpl (initialization failure)
at java.lang.J9VMInternals.initializationAlreadyFailed(J9VMInternals.java:91)
at com.ibm.ws.jsp.translator.visitor.validator.ELValidator.validateElFunction(ELValidator.java:499)
at com.ibm.ws.jsp.translator.visitor.validator.ELValidator.validateELExpression(ELValidator.java:123)
at com.ibm.ws.jsp.translator.visitor.validator.ELValidator.validateELExpression(ELValidator.java:150)
at com.ibm.ws.jsp.translator.visitor.validator.ValidateVisitor.validateCustomTagAttribute(ValidateVisitor.java:1757)
at com.ibm.ws.jsp.translator.visitor.validator.ValidateVisitor.validateCustomTagAttributeValues(ValidateVisitor.java:1405)
at com.ibm.ws.jsp.translator.visitor.validator.ValidateVisitor.visitCustomTagStart(ValidateVisitor.java:294)
at com.ibm.ws.jsp.translator.visitor.JspVisitor.processJspElement(JspVisitor.java:366)
at com.ibm.ws.jsp.translator.visitor.JspVisitor.processChildren(JspVisitor.java:419)
at com.ibm.ws.jsp.translator.visitor.JspVisitor.processJspElement(JspVisitor.java:369)
Caused by: java.lang.NullPointerException
at javax.el.CompositeELResolver.add(CompositeELResolver.java:49)
at org.apache.jasper.el.ELContextImpl.<clinit>(ELContextImpl.java:85)
at com.ibm.ws.jsp.translator.visitor.validator.ELValidator.validateElFunction(ELValidator.java:499)
at com.ibm.ws.jsp.translator.visitor.validator.ELValidator.validateELExpression(ELValidator.java:123)
at com.ibm.ws.jsp.translator.visitor.validator.ELValidator.validateELExpression(ELValidator.java:150)
at com.ibm.ws.jsp.translator.visitor.validator.ValidateVisitor.validateCustomTagAttribute(ValidateVisitor.java:1757)
at com.ibm.ws.jsp.translator.visitor.validator.ValidateVisitor.validateCustomTagAttributeValues(ValidateVisitor.java:1405)
at com.ibm.ws.jsp.translator.visitor.validator.ValidateVisitor.visitCustomTagStart(ValidateVisitor.java:294)
at com.ibm.ws.jsp.translator.visitor.JspVisitor.processJspElement(JspVisitor.java:366)
at com.ibm.ws.jsp.translator.visitor.JspVisitor.processChildren(JspVisitor.java:419)
at com.ibm.ws.jsp.translator.visitor.JspVisitor.processJspElement(JspVisitor.java:369)
at com.ibm.ws.jsp.translator.visitor.JspVisitor.processChildren(JspVisitor.java:419)
檢查應用程序中的WEB-INF/lib文件夾,可能包括與servlet,jsp和el實現相關的衝突jar。 – Gas