Idea Community社区版如何添加Run Dashboard

最近在学习spring cloud,跟着视频添加run dashboard,发现里面介绍的方法无法适用于idea community(社区版)。

然后自己研究了一下,成功添加,下面分享自己的方法。

如图,我的项目里添加了两个module,我想通过run dashboard同时启动这两个module

注:每个module都有@SpringBootApplication主方法

pom:

复制代码
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-actuator</artifactId>
</dependency>

1.如图找到View -> Tool Windows -> Services

2.找到左下角的Services面板,点击Add Service -> Run Configuration Type

  1. 选择Application
  1. module就自动出现在面板中了,点击Run. (鼠标选中Application再Run,就会启动下面的所有module,选中某一个module则只会启动选中的那个)

注:如果Application下面没有module,可以单独Run一下module:

再重新Add Service -> Application 就可以看到了

  1. 这时我们能看到两个module都同时启动啦

虽然不是出现 Run Dashboard按钮,但是效果是一样的。如果你也使用idea community,希望能帮到你。

相关推荐
凤凰院凶涛QAQ4 分钟前
《Java版数据结构 & 集合类剖析》集合框架的封装设计与顺序表:“从 Iterable 到 ArrayList:集合框架的‘职业树“
java·开发语言·数据结构
孟华苏18 分钟前
怎么快速排查内存泄漏问题
java·开发语言·python
noipp21 分钟前
推荐题目:洛谷 P16510 [GKS 2015 #C] gRanks
java·c语言·开发语言·c++·python·算法
flyinmind21 分钟前
Java环境与Android环境中使用QuickJS
java·开发语言·javascript·quickjs
不吃鱼的羊23 分钟前
DaVinci Developer自动连接
java·开发语言
farerboy29 分钟前
15-Java while 和 do...while循环
java·后端
在繁华处31 分钟前
Java从零到熟练(十二):Java与AI工具整合
java·人工智能·python
凯瑟琳.奥古斯特36 分钟前
力扣1235完整解法详解
java·开发语言·leetcode
quan_泉38 分钟前
DIDCTF 取证初学者
java·服务器·前端
i220818 Faiz Ul41 分钟前
民谣网站|基于Springboot的民谣网站管理系统(源码+数据库+文档)
java·数据库·spring boot·后端·论文·毕设·民谣网站