日本免费高清视频-国产福利视频导航-黄色在线播放国产-天天操天天操天天操天天操|www.shdianci.com

學無先后,達者為師

網站首頁 編程語言 正文

maven在cmd中執行install報錯

作者:花小瘋 更新時間: 2022-10-29 編程語言

報錯內容:

No plugin fond for prefix 'install' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositoreis [local <C:\Users\xxx\.m2\repository>, central <https://repo.maven.apache.org.maven2>] -> [Help 1]

原因:maven默認找的是settings.xml,由于我的配置文件是settings-xx.xml,maven的conf文件夾里沒有settings.xml文件,所以導致我外部本地包向maven庫打包報錯了

解決方案:將我得?settings-xx.xml 文件重命名為?settings.xml 后,再次執行命令,就成功了

原文鏈接:https://blog.csdn.net/dd2016124/article/details/127014064

欄目分類
最近更新