Springboot项目启动失败 More than one fragment with the name [spring_web] was found

因为切换了SpringBoot的版本,导致idea生成的target文件夹中出现了冗余的另一个版本的SpringBoot
解决方法:删除target文件夹,重新构建项目

Logo

Agent 垂直技术社区,欢迎活跃、内容共建。

更多推荐