sts如何启动两个spring cloud实例

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

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

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

keep!

发布了75 篇原创文章 · 获赞 41 · 访问量 39万+

猜你喜欢

转载自blog.csdn.net/Erica_1230/article/details/90080746
今日推荐