原文:[ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.4:install (default-cli) on project kircp-js-plan-resource: The packaging for this project did not assign a file to the bu

結合網上的相關資料,要使用Lifecycle下的install 原因好像是Lifecycle下才會走Maven完整的phase。 ...

2019-09-11 14:07 0 466 推薦指數:

查看詳情

maven打包時出現 Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.4:install (default-install) on project……

maven在打包時只會默認打jar包,而那些xml等配置文件默認不打包進去的,這樣的話在mybatis的配置使用中就有問題了。 要自己配置后手動打包才能將xml文件也納入打包的范圍,配置后打包發現出現上述的問題,原因不是很清楚,貌似是缺少了什么?? 根據提示在打包時加上 -X ...

Wed Apr 10 07:03:00 CST 2019 0 4064
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM