Springboot启动类上面出现红色的×怎么处理

场景:idea上Application启动类上面有个红色的×

解决办法:点击 Edit Configurations,点击Application找到Configuration,展开Environment,找到Use classpath of module选择启动的模块。

 

posted @ 2022-11-04 15:21  羽毛球打的贼好  阅读(2843)  评论(0)    收藏  举报