使用命令行git-bath.exe 来拉代码并进行编译之类的服务,结果在拉依赖时一直报错连的是144.131.254.26,看了maven的setting配置 文件 没并没有错, 最终定位问题是 git窗口执行 mvn install 查的setting文件 ,默认使用的是 C:\Users\shoshana\.m2下setting文件,如果没有的情况下,才会使用maven_home下的文件 ,

解决方式:

将.m2下的文件直接删除,再次执行命令就成功了。

----------------------------------------------------------------------------------------------------------------------------------------------------

[INFO] Scanning for projects...
Downloading from mirrorId: http://144.131.254.26:8081/nexus/content/groups/public/org/springframework/boot/spring-boot-starter-parent/1.2.5.RELEASE/spring-boot-starter-parent-1.2.5.RELEASE.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[WARNING] 'dependencies.dependency.version' for com.paypal.sdk:rest-api-sdk:jar is either LATEST or RELEASE (both of them are being deprecated) @ line 143, column 14
[FATAL] Non-resolvable parent POM for com.xiaoyi.orderpaymentservice:orderpaymentutilities-us:1.0.1: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:1.2.5.RELEASE from/to mirrorId (http://144.131.254.26:8081/nexus/content/groups/public/): Connect to 144.131.254.26:8081 [/144.131.254.26] failed: Connection timed out: connect and 'parent.relativePath' points at wrong local POM @ line 14, column 10
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.xiaoyi.orderpaymentservice:orderpaymentutilities-us:1.0.1 (D:\project\xy\07src\orderpayment\orderpaymentutilities\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for com.xiaoyi.orderpaymentservice:orderpaymentutilities-us:1.0.1: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:1.2.5.RELEASE from/to mirrorId (http://144.131.254.26:8081/nexus/content/groups/public/): Connect to 144.131.254.26:8081 [/144.131.254.26] failed: Connection timed out: connect and 'parent.relativePath' points at wrong local POM @ line 14, column 10 -> [Help 2]
[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/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

----------------------------------------------------------------------------------------------------------------------------------------------------

最新文章

  1. [NHibernate]组件之依赖对象
  2. Java远程方法调用(Remote Method Invocation,RMI)
  3. REDIS源码中一些值得学习的技术细节01
  4. silverlight中 Storyboard(动画)的使用,实现球的上下循环移动,左右移动,及旋转功能
  5. PHPUnit单元测试中类protected/private方法测试
  6. (原创)Windows和Linux间共享文件
  7. codeforces C. Design Tutorial: Make It Nondeterministic
  8. WP老杨解迷:如何营造让人花钱的游戏
  9. .net 面试问题 汇总
  10. C#6.0 VS2015
  11. jQuery HTML CSS 方法
  12. Android studio开多个窗口引起的问题
  13. 微信浏览器返回刷新,监听微信浏览器返回事件,网页防复制,移动端禁止图片长按和vivo手机点击img标签放大图片
  14. Python可视化库-Matplotlib使用总结
  15. 使用原生 python 造轮子搭建博客
  16. SpringBoot入门教程(二十)Swagger2-自动生成RESTful规范API文档
  17. 2018-2019-20175205 实验三敏捷开发与XP实践《Java开发环境的熟悉》实验报告
  18. mysql数据库,取两列值中最大的一个值
  19. [JSON] 前后台如何通过$.ajax()传输JSON数据
  20. Manjaro 系统添加国内源和安装搜狗输入法

热门文章

  1. 使用IDEA创建一个Maven Web工程:无法创建Java Class文件
  2. python简单图形界面GUI入门——easygui【转】
  3. SQLServer 拼接列
  4. 【转】45个实用的JavaScript技巧、窍门和最佳实践
  5. Windows环境下最新OpenCV和Contribute代码的联合编译【20190505更新红字】
  6. android studio 把 ionic 打包时修改应用名称、修改应用图标、修改启动画面,升级打包
  7. Python3基础 str : 字符串的逆序
  8. Debugging Kafka connect
  9. python的函数编程
  10. 【grafana报错】Singlestat "Error: Multiple Series Error"