详解IDEA启动多个微服务的配置方法
作者:合林元风 时间:2023-11-24 09:22:24
使用IDEA开发微服务项目,需要启动多个微服务,可以开启IDEA的Run DashBoard窗口,需要对IDEA中指定工程的父工程进行配置进行修改。
首先找到.idea文件下的workspace.xml,并找到RunDashboard
加入如下配置:
<option name="configurationTypes">
<set>
<option value="SpringBootApplicationConfigurationType" />
</set>
</option>
随便启动一个springboot模块,RunDashboard就出现了
而后就可以批量启动微服务,但是注意服务的依赖启动顺序,如果服务未完成在Eureka中的注册,其他依赖该服务的微服务启动将会失败。
来源:https://blog.csdn.net/geeky/article/details/95515640
标签:IDEA,启动,微服务
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
C#实现带百分比的进度条功能示例
2023-09-08 14:17:03
解析SpringSecurity+JWT认证流程实现
2023-05-24 19:33:56
![](https://img.aspxhome.com/file/2023/5/113205_0s.jpg)
使用SSM+Layui+Bootstrap实现汽车维保系统的示例代码
2023-11-28 18:30:04
![](https://img.aspxhome.com/file/2023/6/60416_0s.jpg)
Android 调用百度地图API示例
2023-11-18 00:40:37
![](https://img.aspxhome.com/file/2023/2/139522_0s.png)
MyBatis的逆向工程详解
2022-12-03 11:06:10
java使用poi读取ppt文件和poi读取excel、word示例
2022-09-08 04:55:23
Java中StringUtils与CollectionUtils和ObjectUtil概念讲解
2023-11-29 07:45:38
![](https://img.aspxhome.com/file/2023/4/59004_0s.png)
C#获取路径的几种方式实例分析
2023-07-18 22:19:16
Android中BaseActivity自定义标题栏
2022-04-20 06:47:37
![](https://img.aspxhome.com/file/2023/9/109169_0s.jpg)
unity 切换场景不销毁物体问题的解决
2022-04-29 11:26:06
Java的运算符和程序逻辑控制你了解吗
2023-01-19 10:01:59
springboot用controller跳转html页面的实现
2022-08-15 06:57:51
![](https://img.aspxhome.com/file/2023/1/75711_0s.png)
java 引用类型的数据传递的是内存地址实例
2023-11-29 15:13:53
![](https://img.aspxhome.com/file/2023/7/60557_0s.png)
SPRING IOC注入方式过程解析
2023-10-11 12:59:13
![](https://img.aspxhome.com/file/2023/4/66944_0s.png)
Android自定义View实现遥控器按钮
2021-12-27 09:50:47
![](https://img.aspxhome.com/file/2023/5/125525_0s.gif)
SpringBoot的DeferredResult案例:DeferredResult的超时处理方式
2023-08-09 14:00:58
![](https://img.aspxhome.com/file/2023/6/68226_0s.jpg)
Java判断用户名和密码是否符合要求过程详解
2023-09-24 08:08:36
一款非常简单酷炫的LoadingView动画效果
2021-11-09 11:49:08
![](https://img.aspxhome.com/file/2023/7/137347_0s.gif)
最优雅地整合 Spring & Spring MVC & MyBatis 搭建 Java 企业级应用(附源码)
2023-09-26 18:27:57
![](https://img.aspxhome.com/file/2023/2/77112_0s.png)
Kotlin基础教程之控制流(顺序,分支,循环)
2022-03-15 11:37:33
![](https://img.aspxhome.com/file/2023/5/110755_0s.png)