我正在尝试在网络逻辑服务器上运行我的 spring boot 应用程序(通过 Jhipster 制作)。
它与它的嵌入式 tomcat 一起工作得很好,但是一旦我删除了 tomcat 依赖项,我就开始看到更多错误。
目前这个:
[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:1.5.9.RELEASE:repackage (default) on project myproject: Execution default of goal org.springframework.boot:spr
ing-boot-maven-plugin:1.5.9.RELEASE:repackage failed: Unable to find main class -> [Help 1]
这发生在我删除之后
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
</dependency>
有什么方法可以打包我的应用程序以使其在 weblogic 上运行?说起WL我是菜鸟。
有什么想法吗?
最佳答案
请阅读 spring 文档引用
https://docs.spring.io/spring-boot/docs/current/reference/html/howto-traditional-deployment.html
关于java - 如何使嵌入tomcat的spring boot应用程序能够在weblogic上运行?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48412472/