【问题标题】:bootstraping multiple sprint boot servlets引导多个 Spring Boot Servlet
【发布时间】:2017-11-30 23:11:33
【问题描述】:

我有一个包含多个 (5) 模块的复杂应用程序,遵循微服务架构。每个模块都使用spring boot,但最后我们手动将每个模块的war复制到tomcat。并手动启动tomcat服务器。

我有什么方法可以部署/启动所有 5 个模块作为 Spring 引导附带的同一个嵌入式 tomcat 实例的一部分?更详细地说,我可以将所有 Spring Boot 应用程序作为同一个嵌入式 tomcat 实例的一部分进行引导吗?

【问题讨论】:

    标签: spring-boot embedded-tomcat-7


    【解决方案1】:

    没有。您需要将它们转换为 war's 并部署到非嵌入式 tomcat。

    【讨论】:

      猜你喜欢
      • 2015-08-24
      • 2016-06-30
      • 2014-03-05
      • 2016-11-21
      • 2018-03-14
      • 1970-01-01
      • 1970-01-01
      • 2017-08-22
      • 1970-01-01
      相关资源
      最近更新 更多