国产成人精品久久免费动漫-国产成人精品天堂-国产成人精品区在线观看-国产成人精品日本-a级毛片无码免费真人-a级毛片毛片免费观看久潮喷

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

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

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

問題描述

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

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

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

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

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

標(biāo)簽: java
相關(guān)文章:
主站蜘蛛池模板: 中国国产一级毛片 | 国产欧美日韩在线观看 | 猛操美女| 久久88综合| 欧美成人看片黄a免费看 | 欧美精品99| 色拍拍在精品视频69影院在线 | 小明日韩在线看看永久区域 | 中文国产成人精品久久96 | 色久网站| 欧美69视频在线 | 日本三级香港三级三级人 | 午夜三级在线 | 欧美在线乱妇一级毛片 | 黄色片三级网站 | 暖暖日本在线播放 | 欧美日韩免费做爰视频 | 国产精品一区二区国产 | 18年大片免费在线 | 欧美国产精品亚洲精品第一区 | 日本专区 | 欧美成人影院免费观 | 欧美国产精品一区二区免费 | 国产三级黄色片 | 自拍小视频在线观看 | 天堂中文资源在线8 | av国产精品 | 亚洲视频在线看 | 九色porny真实丨国产18 | 亚洲精品一区二区在线播放 | 久草在线视频资源 | 欧美日韩精彩视频 | 日韩久久中文字幕 | 国产精品久久久久久久久岛 | 怡红院免费va男人的天堂 | 国产一区二区三区免费观看 | 久久久免费观成人影院 | 国内精自品线一区91 | 欧美色视频在线观看 | 欧美成人一区二区三区在线视频 | 中国国产一级毛片视频 |