步骤一
点击 Run -> Edit Configurations...
image
步骤二
选择需要启动多实例的项目并去掉 Single instance only 前面的勾
image
步骤三
通过修改 application.yml 配置文件的 server.port 的端口,启动多个实例,需要多个端口,分别进行启动即可。
点击 Run -> Edit Configurations...
image
选择需要启动多实例的项目并去掉 Single instance only 前面的勾
image
通过修改 application.yml 配置文件的 server.port 的端口,启动多个实例,需要多个端口,分别进行启动即可。
本文标题:在 IDEA 中配置一个工程启动多个实例
本文链接:https://www.haomeiwen.com/subject/nencyhtx.html
网友评论