Open mikeeastin opened 2 years ago
[root@jszx-test release]# /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.322.b06-1.el7_9.x86_64/bin/java -Xms2g -Xmx2g -XX:NewRatio=1 -XX:SurvivorRatio=8 -XX:+UseConcMarkSweepGC -server -Dcertificate.file=/data/bkee-0216/cert/bkci_platform.cert -Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8 -Djava.security.egd=file:/dev/./urandom -Dspring.config.location=file:/data/bkee-0216/etc/ci/common.yml,file:/data/bkee-0216/etc/ci/application-assembly.yml -Dservice.log.dir=/data/bkee-0216/logs/ci/assembly/ -Dspring.cloud.config.uri=http://127.0.0.1:8500 -Dspring.cloud.config.failFast=true -Dspring.cloud.consul.config.enabled=true -Ddevops_gateway=http://devops.bktencent.com -classpath /data/bkee-0216/ci/boot-assembly/config:. -jar /data/bkee-0216/ci/boot-assembly/boot-assembly.jar maxFileSize:300 MB,maxFileAge:30d,maxFileIndex:30 2022-02-17 10:56:25.239 INFO 9172 --- [ main] b.c.PropertySourceBootstrapConfiguration : Located property source: [BootstrapPropertySource {name='bootstrapProperties-config/application/'}] 2022-02-17 10:56:25.411 INFO 9172 --- [ main] c.c.c.ConfigServicePropertySourceLocator : Fetching config from server at : http://10.11.10.116:8500 2022-02-17 10:56:26.767 INFO 9172 --- [ main] c.c.c.ConfigServicePropertySourceLocator : Fetching config from server at : http://10.11.10.116:8500 2022-02-17 10:56:27.992 INFO 9172 --- [ main] c.c.c.ConfigServicePropertySourceLocator : Fetching config from server at : http://10.11.10.116:8500 2022-02-17 10:56:29.308 INFO 9172 --- [ main] c.c.c.ConfigServicePropertySourceLocator : Fetching config from server at : http://10.11.10.116:8500 2022-02-17 10:56:30.752 INFO 9172 --- [ main] c.c.c.ConfigServicePropertySourceLocator : Fetching config from server at : http://10.11.10.116:8500 2022-02-17 10:56:32.372 INFO 9172 --- [ main] c.c.c.ConfigServicePropertySourceLocator : Fetching config from server at : http://10.11.10.116:8500 2022-02-17 10:56:32.495 ERROR 9172 --- [ main] o.s.b.SpringApplication : Application run failed
java.lang.IllegalStateException: Could not locate PropertySource and the fail fast property is set, failing: None of labels [] found
at org.springframework.cloud.config.client.ConfigServicePropertySourceLocator.locate(ConfigServicePropertySourceLocator.java:133) ~[spring-cloud-config-client-3.0.3.jar!/:3.0.3]
at org.springframework.cloud.bootstrap.config.PropertySourceLocator.locateCollection(PropertySourceLocator.java:51) ~[spring-cloud-context-3.0.2.jar!/:3.0.2]
at org.springframework.cloud.config.client.ConfigServicePropertySourceLocator.locateCollection(ConfigServicePropertySourceLocator.java:145) ~[spring-cloud-config-client-3.0.3.jar!/:3.0.3]
at org.springframework.cloud.config.client.ConfigServicePropertySourceLocator$$FastClassBySpringCGLIB$$fa44b2a.invoke(
code branch release-1.8 , https://github.com/Tencent/bk-ci/tree/release-1.8