栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Java

Cannot build artifact ‘test-web:war exploded‘ because it is included into a circular depen 解决方法

Java 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

Cannot build artifact ‘test-web:war exploded‘ because it is included into a circular depen 解决方法

在idea运行之前的项目(tomcat中运行)时报如下错误

Cannot build artifact 'test-web:war exploded' because it is included into a circular dependency (artifact 'test-web:war exploded', artifact 'test')

 在项目/.idea/artifacts下发现有两个文件名不一样,大小相同的文件,看错误就是这两个引起的,删除其中一个即可

删除后结果如下:

然后直接运行项目即可

 

 

参考:

关于项目报错Error:Cannot build Artifact :war exploded because it is included into a circular depency_LQzhang_11的博客-CSDN博客报个这个错的意思,你大概在编译项目的时候,你构建项目的时候,你点的是build project;而不是选择rebuild project,导致重复的依赖。这时候找到项目目录中的.idea目录,在进入artifacts文件目录,发现里面有两个重复的文件,删除即可解决错误。...https://blog.csdn.net/LQzhang_11/article/details/80370018?spm=1001.2101.3001.6661.1&utm_medium=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-1.pc_relevant_default&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-1.pc_relevant_default&utm_relevant_index=1

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/736187.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号