日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

解决:Connect to xx.xx.xxx.xx :8081 [/xx.xx.xx.xx] failed: Connection refu sed: connect -> [H

發布時間:2023/12/18 编程问答 27 豆豆
生活随笔 收集整理的這篇文章主要介紹了 解决:Connect to xx.xx.xxx.xx :8081 [/xx.xx.xx.xx] failed: Connection refu sed: connect -> [H 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

前些天發現了一個巨牛的人工智能學習網站,通俗易懂,風趣幽默,忍不住分享一下給大家。點擊跳轉到教程。

1. 自行啟動了個? Nenux 服務。想把本地工程推送到 個人私服,執行命令:mvn deploy 報錯:

Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project gentle: Failed to retrieve remote metadata com:gentle:1.0-SNAPSHOT/maven-metadata.xml:Could not transfer metadata com:gentle:1.0-SNAPSHOT/maven-metadata.xmlfrom/to user-snapshots (http://xx.xx.xx.xx:8081/nexus/content/repositories/snapshots/):Connect to xx.xx.xx.xx:8081 [/xx.xx.xx.xx] failed: Connection refused: connect -> [H

2. 原因: 我的 私服 服務掛了。

重啟了一下就 OK 了。

3. 另外注意 :maven 配置文件 setting.xml 中私服 id 要和項目 pom.xml 中配置的 id 一致:
?

1.這是在pom.xml 中:<distributionManagement><!--JY - 私服--><repository><id>releases</id><name>Nexus Release Repository</name><url>http://此處是服務器IP:8081/repository/maven-releases/</url></repository><snapshotRepository><id>snapshots</id><name>Nexus Snapshot Repository</name><url>http://此處是服務器IP:8081/repository/maven-snapshots/</url></snapshotRepository></distributionManagement>2.這是在 setting.xml 中:<servers> <!-- JY 私服配置 --><server><id>releases</id><username>admin</username><password>admin123</password></server><server><id>snapshots</id><username>admin</username><password>admin123</password></server></servers>

?

總結

以上是生活随笔為你收集整理的解决:Connect to xx.xx.xxx.xx :8081 [/xx.xx.xx.xx] failed: Connection refu sed: connect -> [H的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。