IDEA报错
Error:Cannot build artifact 'a (1):war exploded' because it is included into a circular dependency (artifact 'a (1):war exploded', artifact 'a:war exploded')
原因,切换分支生成war包生成多了,移除掉多的war包即可
解决方法
File-->Structure
找到Artifacts 移除掉多余war或者war exploded即可。