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

錯的意思是,找不到這個插件的包。web 緣由很簡單,不是找不到這個打包插件,而是本身的項目沒有從maven倉庫里加載這個包到項目裏,所以會找不到。maven 在idea中maven打包操做是點擊install,而在maven打包時有兩個install的地方 在打包時若是點擊了Plugins中的install時,就會報如題錯誤ide 咱們在打包時應該操做Lifecycle下的install,這樣項目
相關文章
相關標籤/搜索