标签:work localhost .config ati .net host service nested locate
1、后台一直打印: 2018-11-28 21:50:49.889 INFO 9108 --- [on(4)-127.0.0.1] c.c.c.ConfigServicePropertySourceLocator : Fetching config from server at : http://localhost:8888
2018-11-28 21:50:49.904 INFO 9108 --- [on(2)-127.0.0.1] o.s.web.servlet.DispatcherServlet : FrameworkServlet ‘dispatcherServlet‘: initialization completed in 15 ms
2018-11-28 21:50:50.929 INFO 9108 --- [on(4)-127.0.0.1] c.c.c.ConfigServicePropertySourceLocator : Connect Timeout Exception on Url - http://localhost:8888. Will be trying the next url if available
2018-11-28 21:50:50.929 WARN 9108 --- [on(4)-127.0.0.1] c.c.c.ConfigServicePropertySourceLocator : Could not locate PropertySource: I/O error on GET request for "http://localhost:8888/microcloud-eureka-7001/default": Connection refused: connect; nested exception is java.net.ConnectException: Connection refused: connect
注意这句:“Fetching config from server at : http://localhost:8888”;config特么是springcloud config报的错,还没配置config呢,只是因为添加maven依赖时加了springclould 的依赖。
标签:work localhost .config ati .net host service nested locate
原文地址:http://blog.51cto.com/3265857/2323448