亚洲免费在线视频-亚洲啊v-久久免费精品视频-国产精品va-看片地址-成人在线视频网

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

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

瀏覽:113日期: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精品 | 国产女王vk | 一区二区伦理 | 黄 色 三 片 | 国产在线观看午夜不卡 | 亚洲福利影视 | 做爰成人五级在线视频| 亚洲日本激情 | 亚洲欧美久久精品1区2区 | 中文国产成人精品久久无广告 | 中日毛片 | 一级毛片日韩a欧美 | 一区二区三区不卡视频 | 色伦网 | 91精品国产色综合久久不 | 国产成人精品久久二区二区 | 免费一级欧美片在线观看 | 欧美日韩加勒比一区二区三区 | 久草97| 综合色久七七综合七七蜜芽 | 2022日韩理论片在线观看 | 99日韩| 免费一级毛片在线播放放视频 | 欧美三级在线视频 | 成人国产综合 | 国产精品久久久99 | 成年人免费观看的视频 | 东京一区二区三区高清视频 | 日本一级毛片高清免费观看视频 | 波多野结衣在线观看一区二区 | 亚洲综合精品一二三区在线 | 国产一国产一级毛片视频在线 | 亚洲国产日产韩国欧美综合 | 中文字幕亚洲视频 | 无限资源中文免费 | 国产欧美一区二区成人影院 | 亚洲 欧美 精品专区 极品 | 波多野结衣视频在线 | 成人综合在线视频免费观看 | 久久99爰这里有精品国产 |