IDEA services模块无法启动springboot服务(添加了springboot但是为空白)

https://blog.csdn.net/m0_54042402/article/details/117918995

https://blog.csdn.net/qq_46550964/article/details/122235235

Alt+8 显示services模块

发现有springboot启动模块,点一下springboot之后,这个模块就消失了

会自动在.idea文件夹下的workspace.xml文件添加如下代码

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

重启idea,发现不行

选maven,重启idea。结果还是不行 (maven点一下之后就消失了,之前springboot也有的,但是我点了一下就消失了会自动加到workspace.xml中去)


这里面是有springboot的

https://blog.csdn.net/qq_46415527/article/details/136250063

把所有的maven依赖移除,重新添加


终于有了。我靠

相关推荐
用户8491371754716几秒前
实战复盘:10W+ QPS 秒杀架构演进(Redis Lua + 分片 + RabbitMQ)
java·架构·设计
b***9102 分钟前
idea创建springBoot的五种方式
java·spring boot·intellij-idea
BD_Marathon4 分钟前
【IDEA】常用快捷键【上】
java·ide·intellij-idea
BD_Marathon8 分钟前
【IDEA】工程与模块的管理
java·ide·intellij-idea
tgethe11 分钟前
MybatisPlus基础部分详解(中篇)
java·spring boot·mybatisplus
core51214 分钟前
【Java AI 新纪元】Spring AI 深度解析:让 Java 开发者无缝接入大模型
java·人工智能·spring·ai
Y***890814 分钟前
Spring Boot的项目结构
java·spring boot·后端
好好研究15 分钟前
MyBatis框架 - 注解形式
java·数据库·mysql·maven·mybatis
烤麻辣烫31 分钟前
黑马程序员苍穹外卖(新手)DAY8
java·开发语言·学习·spring·intellij-idea
就叫飞六吧32 分钟前
Java 中编译一个 java 源文件产生多个 .class 文件原因
java·开发语言