使用Multi WebApp运行多模块Spring Boot

时间:2019-01-22 04:12:55

标签: spring-boot

我正在创建一个包含许多Web模块的项目。项目结构:

parent
|
|-----------Web module
|            |            
|            |-----------java
|            |            |
|            |            |-----------WebApplication
|            |            |
|            |            |-----------ServletInitializer
|            |         
|            |-----------pom.xml
|-----------Web_Manager Module
|            |            
|            |-----------java
|            |            |
|            |            |-----------WebManagerApplication
|            |            |
|            |            |-----------ServletInitializer
|            |            
|            |-----------pom.xml
|
|-----------pom.xml

但是在运行时,两个模块中只有一个会运行。谁可以帮助我如何同时运行两个模块,或者给我一个类似的项目以供参考。谢谢!

0 个答案:

没有答案
相关问题