我在使用springcloud时遇到了一个问题:当应用程序执行时,我在spring.cloud.config的application.yml中的设置没有被使用。让我在这里说出更多细节。我希望我的服务可以从远程ConfigServer获取设置。我使用@EnableConfigServer注释将ConfigServer创建为一个spring启动应用程序。之后,我用下一个配置文件创建了客户端应用程序: name
No spring.config.import property has been definedAction:
Add a spring.config.import=configserver:If configuration is not required add spring.config.import=optional:configserver: instead.To disable this check, set spring.cloud</em
: Could not locate PropertySource: I/O error on GET request for "http://localhost:8888/config-clientmain] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 10001 (http但是,Spring服务器正在本地主机上运行:10000/,项目的applicati