在springboot项目中显示Services面板的方法

文章目录


前言

在一个springboot项目中,通过开启Services面板,可以快速的启动、配置、管理多个子项目。


方法一:Alt+8快捷键

1、在idea界面输入Alt+8,在下方会出现Services面板。

2、Add service中选择Run Configuration Type

3、往下翻,找到springboot。

4、点击后,可以自动将项目加入到Services面板中。

方法二:使用Component标签

1、在项目根路径中找到.idea文件=>workspace.xml。

2 查看文件当中是否有个节点叫RunDashboard 。如果没有,就在某一个component节点下,再新建一个componet节点,并输入一下内容。

输入内容如下:

java 复制代码
<component name="RunDashboard">
    <option name="configurationTypes">
      <set>
        <option value="SpringBootApplicationConfigurationType" />
      </set>
    </option>
  </component>

3、保存后,刷新maven

会出现Services面板。

如果没有出现该面板,请重新启动IDEA。

总结

方法一:Alt+8

方法二:使用Component标签

相关推荐
敖正炀17 分钟前
WebFlux 深度:Reactor 线程模型、背压与错误处理
spring boot
BING_Algorithm21 分钟前
一文搞定 AOP 所有核心知识点
spring boot·后端·spring
勿忘初心12211 小时前
【Java实战】SpringBoot 集成 freemarker 导出 Word 模板
java·spring boot·freemarker·模板引擎·word导出·后端实战
绿草在线1 小时前
SpringBoot项目实战:从零搭建高效开发环境
java·spring boot·后端
空中海3 小时前
Spring Boot Kafka 项目 Demo:订单事件系统 专家知识、源码阅读路线与面试题
spring boot·kafka·linq
默 语1 天前
基于 Spring Boot 3 + LangChain4j 快速构建企业级 AI 应用实战
人工智能·spring boot·后端
薪火铺子1 天前
SpringBoot WebServer启动与监听器原理深度解析
spring boot·后端·tomcat
KmSH8umpK1 天前
SpringBoot 分布式锁实战:从单机锁到Redis分布式锁全覆盖,解决超卖、重复下单、幂等并发问题
spring boot·redis·分布式
jay神1 天前
基于团队模式的C程序设计课程辅助教学管理系统
java·spring boot·vue·web开发·管理系统
长河1 天前
基于 Jib 实现无 Dockerfile 的 Spring Boot 应用容器化
java·spring boot·后端