There is more than one Web fragment with the same name: "spring_web". 解决方案

冷不防 2022-02-22 00:59 309阅读 0赞

用到了 tomcat,maven,提示 There is more than one Web fragment with the same name: “spring_web”.错误
使用的软件:IDEA

错误定位:

根据报错提示,说有重复的模块,即找到重复的删掉即可。

解决方案:

IDEA 中 右上的运行设置那,打开 Edit Configuration —— 左边选中自己的 tomcat server —— Deployment —— 选中自己的组件 —— 右边铅笔图标 —— Artifacts 看看有没有多余的 xxx explored (xxx是项目名)

其他方案

stackoverflow

发表评论

表情:
评论列表 (有 0 条评论,309人围观)

还没有评论,来说两句吧...

相关阅读