微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

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

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

这是尝试启动该应用程序时出现的异常,该应用程序在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)

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。