idea启动多个SpringBoot工程
一:在IDEA上点击Application,弹出选项后,点击Edit Configuration
二:打开配置后,将默认的Allow prarallel run打钩。
三:通过修改application文件的server.port的端口,启动。多个实例,需要多个端口,分别启动。
一:在IDEA上点击Application,弹出选项后,点击Edit Configuration
二:打开配置后,将默认的Allow prarallel run打钩。
三:通过修改application文件的server.port的端口,启动。多个实例,需要多个端口,分别启动。