关于项目报错:Error:Cannot build artifact 'XXX:war exploded' because it is included into a circular dep

在启动项目的时候项目报错且启动不了:
Error:Cannot build artifact 'manage-service:war exploded' because it is included into a circular dependency (artifact 'manage-service:war exploded', artifact 'manager-service:war exploded')
如下图所示:

关于项目报错:Error:Cannot build artifact 'XXX:war exploded' because it is included into a circular dep_第1张图片

解决方案:

找到项目目录中的.idea目录,进入artifacts文件目录,删除重复的两个的文件即可。

你可能感兴趣的:(随手笔记)