Java Springboot 2.1 java.lang.LinkageError

Java Springboot 2.1 java.lang.LinkageError

所以我正在尝试将 Spring 启动应用程序升级到 2.1。我在本地 运行 得到了它,但是当部署到 Websphere 8.5.5.13 时,我收到 java 链接错误。我从中得到的是这个 ConfigFileApplicationListener class 已经加载了两次(一次来自 gradle 罐子,一次在服务器上)并且存在冲突?所以我的解决方案应该是将它从 gradle 构建中排除?唯一的问题是我无法弄清楚是什么 Spring 依赖项将其引入。有什么建议吗?

R Caused by: java.lang.LinkageError: loading constraint violation 
when overriding method "org/springframework/boot/context/config/
ConfigFileApplicationListener$DocumentFilterFactory.getDocumentFilter
(Lorg/springframework/boot/context/config/ConfigFileApplicationListener$Profile;)
Lorg/springframework/boot/context/config/ConfigFileApplicationListener$DocumentFilter;" 
during creation of class "org/springframework/boot/context/config/ConfigFileApplicationListener
$Loader$$Lambda2/000000002F6368A0": loader "java/lang/InternalAnonymousClassLoader@4b4313e6"     
of class "org/springframework/boot/context/config/ConfigFileApplicationListener$Loader$$Lambda2/000000002F6368A0" 
and loader "com/ibm/ws/classloader/CompoundClassLoader@da9f4ecb" of class 
"org/springframework/boot/context/config/ConfigFileApplicationListener$DocumentFilterFactory" 
have different types for the method signature

该错误是由 Websphere 错误 (https://issues.jboss.org/browse/RHDM-297) 引起的。升级到 IBM JDK 8.0.5.10 可修复此问题。