我们已经升级到Websphere 9以及Camel 2.17,Java8和Spring4。
在包装内,我们有以下罐子
camel-jms-2.17.0.jar, camel-juel-2.17.0.jar, camel-spring-2.17.0.jar
在was plugin文件夹中,我们有以下jar,包含ElContextImpl。
javax.j2ee.el.jar, com.ibm.ws.webcontainer.jar
在点击网址时获得以下异常。不知道是什么因为它出现错误而导致错误,无论是版本不匹配,冲突还是类路径问题
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)
答案 0 :(得分:0)
这个问题与camel引用的juel jar有关。这个版本的jar用于JSP 2.1;因此,它不支持 EL 3.0是用于WAS 9.0.0.2的那个。 所以我已经删除了这个jar,因为没有更高版本的jar可用,并用juel-impl-2.2.7.jar替换了它。
现在正在运作。