码迷,mamicode.com
首页 > 编程语言 > 详细

springboot ----> sts如何启动两个实例

时间:2018-03-03 00:36:10      阅读:342      评论:0      收藏:0      [点我收藏+]

标签:sdn   gpo   参数   http   ...   需要   使用   --   UI   

idea 实现启动两个spring boot工程实例的方法 可以参考这篇博客。

因为使用spring tool suite 学习spring cloud 需要实例化两个spring boot 工程来构成一个小小的集群系统,

可以通过sts ,右击选择run as, 使用run configuration..., 配置jvm参数为 -Dserver.port=xxxx(端口号)

springboot ----> sts如何启动两个实例

标签:sdn   gpo   参数   http   ...   需要   使用   --   UI   

原文地址:https://www.cnblogs.com/mrray1105/p/8495489.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!