在idea中起项目Build时报错:Error:Cannot build artifact ‘library (1):war exploded’ because it is include
解决方案:打开代码中的.idea中的artifacts。

将多余的文件删掉,剩下两个问下,如下图。

问题解决了!
本文介绍了解决IDEA中启动项目时遇到的Build错误问题。错误信息为:Error:Cannot build artifact ‘library(1):warexploded’ because it is included。解决方法是通过编辑.idea/artifacts文件夹下的配置,删除多余的文件只保留必要的两个文件。
在idea中起项目Build时报错:Error:Cannot build artifact ‘library (1):war exploded’ because it is include
解决方案:打开代码中的.idea中的artifacts。

将多余的文件删掉,剩下两个问下,如下图。

问题解决了!
1042
2万+
1862
3599
1万+