1. 程式人生 > >maven install報錯:The packaging for this project did not assign a file to the build artifact

maven install報錯:The packaging for this project did not assign a file to the build artifact

IDEA進行mvn install時,遇到以下錯誤

The packaging for this project did not assign a file to the build artifact

使用mvn clean install 就可以解決問題,或者先點lifecycle的clean再點install,不要用mvn install:install那個。