IntelliJ IDEA 2021.3 运行tomcat项目报错
Cannot build artifact 'ContentPublisher:war exploded' because it is included into a circular dependency (artifact 'ContentPublisher:war exploded', artifact 'ContentPublisher (1):war exploded')
解决方案: 找到项目目录中的.idea目录,删除 artifacts文件目录
或者 进入artifacts文件目录,删除重复的两个的文件即可。
xxx.iml 如果有重复 xxxim(1) 也要删除一下
还是不行就把 .idea 和项目无关的文件都删除 重新用idea加载