git拉取失败
来源:6-2 Config Server
殷梦凡
2019-07-08
spring:
application:
name: config
cloud:
config:
server:
git:
uri: https://git.lug.ustc.edu.cn/yinmengfan/config-repo.git
username: ******
password: *******
eureka:
client:
service-url:
defaultZone: http://localhost:8761/eureka/
启动正常,
在页面输入http://localhost:8080/order-a.yml
报错:
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Mon Jul 08 15:11:27 CST 2019
There was an unexpected error (type=Not Found, status=404).
Cannot clone or checkout repository: https://git.lug.ustc.edu.cn/yinmengfan/config-repo.git
控制台报错:
org.eclipse.jgit.api.errors.TransportException: https://git.lug.ustc.edu.cn/yinmengfan/config-repo.git: Secure connection to https://git.lug.ustc.edu.cn/yinmengfan/config-repo.git could not be stablished because of SSL problems
2回答
-
殷梦凡
提问者
2019-07-08
有的,我在git上添加了order.yml文件
032019-07-08 -
廖师兄
2019-07-08
启动正常,访问报错,看看是否有order-a.yml这个文件。
00
SpringCloud Finchley(M2+RELEASE+SR2)微服务实战
5668 学习 · 2489 问题
相似问题