1. 程式人生 > >解決 Failed to execute goal plugins:maven-clean-plugin:2.5:clean (default-clean) on project報錯

解決 Failed to execute goal plugins:maven-clean-plugin:2.5:clean (default-clean) on project報錯

在用maven的Tomcat外掛啟動專案時經常出現這個錯誤 

Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project。看一下上次專案是否停止,這個錯誤應該有程序正在佔用專案下的target資料夾,通過maven的clean操作即可刪除該檔案。