亚洲精品久久久中文字幕-亚洲精品久久片久久-亚洲精品久久青草-亚洲精品久久婷婷爱久久婷婷-亚洲精品久久午夜香蕉

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

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

瀏覽:78日期: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
相關文章:
主站蜘蛛池模板: 日本人与黑人做爰视频网站 | 成年美女黄的视频网站 | 伊人久久青青 | 黄色一级视频 | 18美女福利视频网站免费观看 | 中文字幕欧美一区 | 一级毛片免费在线播放 | 91精品国产手机 | 国产成人久久久精品毛片 | 91美女视频在线 | 成人影院久久久久久影院 | 精品欧美一区二区三区四区 | 欧美色碰碰碰免费观看长视频 | 一区二区三区毛片免费 | 亚洲欧美在线综合一区二区三区 | 成人深夜福利在线播放不卡 | 黄色毛片免费 | 国产综合成人久久大片91 | 欧美性视频一区二区三区 | 国产成人亚洲综合a∨婷婷 国产成人亚洲综合无 | 国产在线看片网站 | 色综合一区二区三区 | 黄色网址免费在线 | 亚洲自偷自偷首页 | 国产精品亚洲精品一区二区三区 | 片在线观看视频免费 | 国产又色又爽在线观看 | 2021国产精品一区二区在线 | 成人夜色视频在线观看网站 | 久久国产精品一区 | 96精品视频在线播放免费观看 | 欧美护士激情第一欧美精品 | 亚洲国产成人久久综合一区 | 黄 色 片成 人免费观看 | 欧洲久久| 久久精品国产国产精品四凭 | 黄色三级大片 | 免费在线黄网 | 蕾丝视频在线看片国产 | 欧美护士激情第一欧美精品 | 鲁丝一区二区三区不属 |