午夜剧场伦理_日本一道高清_国产又黄又硬_91黄色网战_女同久久另类69精品国产_妹妹的朋友在线

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

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

瀏覽:192日期: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
相關文章:
主站蜘蛛池模板: 亚洲精品福利 | 久久国产在线视频 | 国产成人精品av在线观 | 玖玖精品 | 国产午夜一区二区 | 亚洲资源在线播放 | 成人三级做爰av | 亚洲www在线| 欧美日韩中文字幕视频 | 亚洲天堂中文字幕 | 蜜桃传媒一区二区亚洲 | 国产一区二区视频免费观看 | 人人cao | 伊人久久伊人 | 天堂网中文字幕 | caoporn人人| 色视频在线免费观看 | 性欧美又大又长又硬 | a天堂在线观看视频 | 免费观看毛片视频 | 91欧美大片 | 国产日韩成人 | 成人高清 | 国产精品成人在线观看 | 日韩精品中文字幕在线播放 | 精品成人免费视频 | 青青青手机视频在线观看 | 国产日韩91 | 视频在线观看一区 | 久久久美女| 中文字幕在线视频网站 | 激情片网站 | 在线播放成人 | 精品国产一区在线观看 | 国产欧美在线 | 性视频在线播放 | 久久视频精品在线观看 | 亚洲一区二区三区精品视频 | yy6080午夜 | 国产高清av | 青青青在线视频 |