将spring-boot 2.2.5应用程序部署到Websphere 8.5时出现随机错误

时间:2020-08-24 22:55:05

标签: spring-boot websphere websphere-8

这是尝试启动该应用程序时出现的异常,该应用程序在classpath上具有tomcat-embed-el 9.0.37,这是spring-boot-starter-validation的传递依赖项

Caused by: javax.el.ELException: Unable to find ExpressionFactory of type: # Licensed to the Apache Software Foundation (ASF) under one or more
    at javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:190)
    at javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:118)
    at org.apache.jasper.runtime.JspApplicationContextImpl.<clinit>(JspApplicationContextImpl.java:65)
    ... 31 more
Caused by: java.lang.ClassNotFoundException: # Licensed to the Apache Software Foundation (ASF) under one or more
    at java.net.URLClassLoader.findClass(URLClassLoader.java:610)
    at com.ibm.ws.bootstrap.ExtClassLoader.findClass(ExtClassLoader.java:244)
    at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:937)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:882)
    at com.ibm.ws.bootstrap.ExtClassLoader.loadClass(ExtClassLoader.java:135)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:865)
    at com.ibm.ws.classloader.ProtectionClassLoader.loadClass(ProtectionClassLoader.java:62)
    at com.ibm.ws.classloader.ProtectionClassLoader.loadClass(ProtectionClassLoader.java:58)
    at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:619)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:865)
    at javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:183)

0 个答案:

没有答案