Error:Cannot build artifact xxx:war exploded‘ because it is included into a circular dependency

KYJY發表於2020-11-30

IDEA 專案報錯:Error:Cannot build artifact xxx:war exploded’ because it is included into a circular dependency

解決:
ctrl + alt + shift + s 開啟 project structure (或者ctrl alt + a 搜尋 project structure)
點左邊artifacts,刪掉多餘的兩個,分別是

xxx:war
xxx:war exploded

刪掉就好了。

相關文章