1. 程式人生 > >Error:Cannot build artifact 'itrippauth:war exploded' because it is included into a circular depende

Error:Cannot build artifact 'itrippauth:war exploded' because it is included into a circular depende

Error:Cannot build artifact 'itrippauth:war exploded' because it is included into a circular dependency (artifact 'itrippauth:war exploded', artifact 'itripauth:war exploded')

今天啟動專案時tomcat報了一個這樣的問題,使用的是idea,在網上查了些資料,主要是因為多餘的依賴檔案導致tomcat迴圈載入造成,解決辦法如下:

在這個目錄下

相同的依賴檔案只保留一個就ok

在出問題的時候.idea資料夾中artifacts中多了兩個相同的檔案