我已经使用 start.spring.io 创建了一个应用程序(spring boot 1.5.6)并尝试将其部署到 Weblogic 12.1.3.0.0。
管理控制台中的消息:
错误 无法访问选定的应用程序。
错误 java.io.IOException
错误 weblogic.utils.compiler.ToolFailureException
日志中的消息:
<23.08.2017 13:40:26 GMT+03:00> <Error> <J2EE> <BEA-160228> <AppMerge failed to merge your application. If you are running AppMerge on the command-line, merge again with the -verbose option for more details. See the error message(s) below.>
这些链接没有帮助:
https:
//docs.spring.io/spring-boot/docs/1.5.x/reference/html/howto-traditional-deployment.html 在 Weblogic 中部署 Spring Boot 应用程序
更新:
问题是依赖 JAX-RS。没有它应用程序部署成功。不确定如何使用此依赖项
更新 x2:
删除 Jax-rs,现在:
java.lang.NoSuchMethodError:org.springframework.core.annotation.AnnotationAwareOrderComparator.sort(Ljava/util/List;)V
已解决