启动不成功,好像是因为,配置服务器无效

来源:1-3 什么是配置中心

慕雪0535062

2019-11-20 15:30

错误代码提示

http://img1.mukewang.com/5dd4eb800001833706130331.jpg

http://img.mukewang.com/5dd4eb8000016a7e03460442.jpg

http://img3.mukewang.com/5dd4eb8000014e9710540211.jpg

http://img2.mukewang.com/5dd4eb800001b51b11650685.jpg


Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.

2019-11-20 12:45:50.611 ERROR 6116 --- [           main] o.s.b.d.LoggingFailureAnalysisReporter   : 


***************************

APPLICATION FAILED TO START

***************************


Description:


Invalid config server configuration.


Action:


If you are using the git profile, you need to set a Git URI in your configuration.  If you are using a native profile and have spring.cloud.config.server.bootstrap=true, you need to use a composite configuration.


Disconnected from the target VM, address: '127.0.0.1:51606', transport: 'socket'


Process finished with exit code 1


写回答 关注

2回答

  • 幽弥
    2020-05-26 11:13:29

    我算是服了,花两天时间,启动一直报错,发起了

  • 慕雪0535062
    2019-11-20 15:39:01

    好吧,是因为配置文件写参数的时候冒号后面要加一个空格":"

应用SpringCloud完成自定义配置中心开发实践

应用SpringCloud从零开始开发自定义配置中心

6681 学习 · 23 问题

查看课程

相似问题