关于Idea中Run Dashboard/services不启动的问题解决方法

1、启动多个spring boot项目时,为方便调试,大家可以使用Dashboard来方便调试代码

当我们启动多个Spring Boot 项目时,idea会自动弹出下面这个Run Dashboard框
我们选择第一个Show run configurations in Run Dashboard 点击即可
Run Dashboard

2、如果没有弹出该Run Dashboard 框 分两种情况的解决方法

2.1 首先第一种,项目中显示 .idea 目录,这是因为我们在计算机磁盘中设置了显示隐藏文件,没有显示此目录的请看下面的解决方法
.idea目录
我们打开workspace.xml文件并ctrl+f搜索RunDashboard
搜索
**看一下是否有此组件,如果没有请添加component组件 **
代码如下

 <component name="RunDashboard">
    <option name="configurationTypes">
      <set>
        <option value="SpringBootApplicationConfigurationType" />
      </set>
    </option>
  </component>

然后重启idea即可,现在的services就是Run Dashboard
services

2.2、没有 .idea目录的请看此种解决方法,我们首先找到项目所在目录,我的在f盘下,各位请找到自己的项目文件所在目录
在这里插入图片描述
**选中查看,显示隐藏的项目找到此idea, 然后查看workspace.xml文件是否有Run Dashboard组件 **

<component name="RunDashboard">
   <option name="configurationTypes">
     <set>
       <option value="SpringBootApplicationConfigurationType" />
     </set>
   </option>
 </component>

最后重启idea即可,就会显示services或者 Run Dashboard
在这里插入图片描述

  • 6
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值