o.s.boot.SpringApplication:运行失败java.lang.IllegalStateException:无法找到PropertySource失败

时间:2020-06-10 16:13:27

标签: spring-cloud

这是错误消息,有人遇到过类似的问题吗?

2020-06-10 09:01:07.817信息2631 --- [main] c.c.c.ConfigServicePropertySourceLocator:从位于http://localhost:8762的服务器中获取配置 2020-06-10 09:01:08.012错误2631 --- [main] o.s.boot.SpringApplication:应用程序运行失败

java.lang.IllegalStateException:无法找到PropertySource并设置了fail fast属性,失败 在org.springframework.cloud.config.client.ConfigServicePropertySourceLocator.locate(ConfigServicePropertySourceLocator.java:136)〜[spring-cloud-config-client-2.0.2.RELEASE.jar:2.0.2.RELEASE] 在org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration.initialize(PropertySourceBootstrapConfiguration.java:94)〜[spring-cloud-context-2.0.2.RELEASE.jar:2.0.2.RELEASE] 在org.springframework.boot.SpringApplication.applyInitializers(SpringApplication.java:628)〜[spring-boot-2.0.7.RELEASE.jar:2.0.7.RELEASE] 在org.springframework.boot.SpringApplication.prepareContext(SpringApplication.java:364)〜[spring-boot-2.0.7.RELEASE.jar:2.0.7.RELEASE] 在org.springframework.boot.SpringApplication.run(SpringApplication.java:305)〜[spring-boot-2.0.7.RELEASE.jar:2.0.7.RELEASE] 在org.springframework.boot.SpringApplication.run(SpringApplication.java:1242)〜[spring-boot-2.0.7.RELEASE.jar:2.0.7.RELEASE] 在org.springframework.boot.SpringApplication.run(SpringApplication.java:1230)〜[spring-boot-2.0.7.RELEASE.jar:2.0.7.RELEASE] 在com.southwind.OrderApplication.main(OrderApplication.java:10)〜[classes /:na]

0 个答案:

没有答案