色综合图-色综合图片-色综合图片二区150p-色综合图区-玖玖国产精品视频-玖玖香蕉视频

您的位置:首頁技術文章
文章詳情頁

java - idea 打包war包時候報錯?

瀏覽:83日期:2024-01-22 14:16:40

問題描述

我有個項目:xmlivecli 目錄結構:

java - idea 打包war包時候報錯?

<?xml version='1.0' encoding='UTF-8'?><beans xmlns='http://www.springframework.org/schema/beans' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:motan='http://api.weibo.com/schema/motan' xsi:schemaLocation='http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://api.weibo.com/schema/motan http://api.weibo.com/schema/motan.xsd'> <motan:protocol default='true' name='motan' maxServerConnection='80000' maxContentLength='1048576' maxWorkerThread='800' minWorkerThread='20' /> <!-- reference to the remote service --> <motan:referer interface='com.njmdedu.wxapi.WxClientRPCService' directUrl='192.168.1.1:8452' requestTimeout='5000' timeout='5000' /> <motan:referer interface='com.njmdedu.rpc.api.UserRPCService' directUrl='192.168.1.1:8492' requestTimeout='5000' timeout='5000' /> <motan:referer interface='com.njmdedu.rpc.api.WcUserRPCService' directUrl='192.168.1.1:8493' requestTimeout='5000' timeout='5000' /> <motan:referer interface='com.njmdedu.rpc.api.KindergartenRPCService' directUrl='192.168.1.1:8495' requestTimeout='5000' timeout='5000' /></beans> 正式打包的時候報:

[ERROR] Failed to execute goal on project xmlivecli: Could not resolve dependencies for project com.njmdedu:xmlivecli:war:1.0.0: The following artifacts could not be resolved: com.njmdedu:wxapi:jar:0.0.1, com.njmdedu:rpcapi:jar:0.0.1: Failure to find com.njmdedu:wxapi:jar:0.0.1 in http://192.168.1.123:8081/nexus/content/groups/md_local_repo/ was cached in the local repository, resolution will not be reattempted until the update interval of md_local_repo has elapsed or updates are forced -> [Help 1][ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.[ERROR] Re-run Maven using the -X switch to enable full debug logging.[ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles:[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionExceptionProcess finished with exit code 1

問題解答

回答1:

先 install 一下其他項目再打包

在 rpcapi 項目下運行 mvn install

在 wxtools 項目下運行 mvn install

在 wxapi 項目下運行 mvn install

最后在 xmlivecli 項目下運行 mvn package

這個依賴順序也是我的推測,有可能需要調整,可以多嘗試一下.

回答2:解決了,把默認的maven home設置成本地的就沒問題了

java - idea 打包war包時候報錯?

標簽: java
相關文章:
主站蜘蛛池模板: 曰本黄大片 | 91欧美视频 | 日本 片 成人 在线 日本68xxxxxxxxx老师 | 九九九国产在线 | 国产精品久久久久亚洲 | 美国一级片免费 | 国产大臿蕉香蕉大视频 | 欧美三级色 | 成人网视频免费播放 | 日韩免费一区二区三区在线 | 日韩在线看片中文字幕不卡 | 精品国产一区二区三区国产馆 | 一区二区精品视频 | 欧美一级三级在线观看 | 美女扒开腿让男人桶爽免费动态图 | 国产精品日韩一区二区三区 | 国产在线观看午夜不卡 | 国产91啦 | 国产精品亚洲专一区二区三区 | 欧美日韩高清在线观看一区二区 | 亚洲韩国欧美一区二区三区 | 久久久免费精品视频 | 国产手机在线小视频免费观看 | 精品91自产拍在线 | 视频二区在线 | 欧美一级欧美三级 | 亚洲天堂男人天堂 | 全免费a级毛片免费看不卡 全免费毛片在线播放 | 在线观看99 | 欧美一区二区三区免费 | 亚洲国语在线视频手机在线 | 久久精品片 | 国产精品爱久久久久久久三级 | 黄色在线播放 | 欧美三级一区二区 | 亚洲综合图片人成综合网 | 毛片1级| 日韩三级在线免费观看 | 俄罗斯一级毛片免费播放 | 日韩一区二区三区视频在线观看 | 牛人盗摄一区二区三区视频 |