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

您的位置:首頁(yè)技術(shù)文章
文章詳情頁(yè)

java - idea 打包war包時(shí)候報(bào)錯(cuò)?

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

問(wèn)題描述

我有個(gè)項(xiàng)目:xmlivecli 目錄結(jié)構(gòu):

java - idea 打包war包時(shí)候報(bào)錯(cuò)?

<?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> 正式打包的時(shí)候報(bào):

[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

問(wèn)題解答

回答1:

先 install 一下其他項(xiàng)目再打包

在 rpcapi 項(xiàng)目下運(yùn)行 mvn install

在 wxtools 項(xiàng)目下運(yùn)行 mvn install

在 wxapi 項(xiàng)目下運(yùn)行 mvn install

最后在 xmlivecli 項(xiàng)目下運(yùn)行 mvn package

這個(gè)依賴順序也是我的推測(cè),有可能需要調(diào)整,可以多嘗試一下.

回答2:解決了,把默認(rèn)的maven home設(shè)置成本地的就沒(méi)問(wèn)題了

java - idea 打包war包時(shí)候報(bào)錯(cuò)?

標(biāo)簽: java
相關(guān)文章:
主站蜘蛛池模板: 亚洲欧美日韩一区高清中文字幕 | 成人亚洲国产综合精品91 | 狠狠色丁香婷婷综合最新地址 | 永久免费看的啪啪网站 | 欧美一级毛片在线播放 | 国产大伊香蕉精品视频 | 91久久老司机福利精品网 | 欧美日韩一区二区三区在线 | 日本综合欧美一区二区三区 | 在线观影 | 1024在线视频精品免费 | 尤物在线免费观看 | 色综合中文字幕 | 色综合合久久天天综合绕视看 | 国产一级视频免费 | 韩国一级毛片视频免费观看 | 成年做羞羞免费观看视频网站 | 视频一区视频二区在线观看 | 国产免费a | 国产另类在线观看 | 精品一区二区三区在线观看l | 精品视频久久 | 日韩欧美在线观看综合网另类 | 国产尻逼视频 | 国产成人资源 | 2017天天鲁夜夜夜夜夜夜夜 | 国产精品久久久久毛片真精品 | 黄色片网址在线观看 | 欧美视频在线观看一区二区 | 日本国产在线观看 | 在线精品国精品国产不卡 | 品爱网在线观看视频免费视频 | 靠逼久久 | 亚洲欧美中文日韩在线v日本 | 亚洲色图第四色 | 伊人丁香婷婷综合一区二区 | 韩国色网| 亚洲国产高清一区二区三区 | 青青青国产在线手机免费观看 | 国产一级高清免费观看 | 国产免费jizz在线播放视频 |