【java】spring cloud config+bus配置中心,出现Dispatcher has no subscribers错误
关于spring cloud config集成spring could bus amqp后,访问/actuator/bus-refresh出现 org.springframework.integration.MessageDispatchingException: Dispatcher has no subscribers的问题
我使用的版本是
springboot:2.1.0.RELEASE
springcloud:Greenwich.M1
相关写法跟配置是参考下面链接实现的
https://blog.csdn.net/cheidou123/article/details/80157580
config-server、config-client启动正常,接口均能正常访问,唯独在使用bus总线/actuactor/bus-refresh时发生问题。
检查过了相关注解、配置文件、代码,都没有发现什么问题。不同的是,在上面链接中的例子中,它在启动config-server、config-client的时候,rabbit的html管理页面能够看到新那建了两条管道,但我这边是什么都没有创建。
因此我想问题可能发现在rabbitmq启动上, 我再检查了相关的amqp配置以及pom导入的依赖,但是并没有发现什么问题。这就很奇怪了,难道是springboot/springcloud版本的问题?
相关配置
config-client配置
spring:application:
name: config-client
cloud:
config:
# uri: http://localhost:8888/
profile: dev
label: master
discovery:
enabled: true
service-id: config-server
bus:
trace:
enabled: true
enabled: true
rabbitmq:
host: localhost
port: 5672
username: guest
password: guest
management:
endpoints:
web:
exposure:
include: bus-refresh
server:
port: 8881
eureka:
client:
service-url:
defaultZone: http://localhost:8889/eureka/
config-client pom.xml
<dependencies><dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-config</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-bus-amqp</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
</dependency>
</dependencies>
config-client的启动日志
"D:\Program Files (x86)\Java\jdk1.8.0_162\bin\java" -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA 2017.1.3\lib\idea_rt.jar=49293:C:\Program Files\JetBrains\IntelliJ IDEA 2017.1.3\bin" -Dfile.encoding=UTF-8 -classpath "D:\Program Files (x86)\Java\jdk1.8.0_162\jre\lib\charsets.jar;D:\Program Files (x86)\Java\jdk1.8.0_162\jre\lib\deploy.jar;D:\Program Files (x86)\Java\jdk1.8.0_162\jre\lib\ext\access-bridge-64.jar;D:\Program Files (x86)\Java\jdk1.8.0_162\jre\lib\ext\cldrdata.jar;D:\Program Files (x86)\Java\jdk1.8.0_162\jre\lib\ext\dnsns.jar;D:\Program Files (x86)\Java\jdk1.8.0_162\jre\lib\ext\jaccess.jar;D:\Program Files (x86)\Java\jdk1.8.0_162\jre\lib\ext\jfxrt.jar;D:\Program Files (x86)\Java\jdk1.8.0_162\jre\lib\ext\localedata.jar;D:\Program Files (x86)\Java\jdk1.8.0_162\jre\lib\ext\nashorn.jar;D:\Program Files (x86)\Java\jdk1.8.0_162\jre\lib\ext\sunec.jar;D:\Program Files (x86)\Java\jdk1.8.0_162\jre\lib\ext\sunjce_provider.jar;D:\Program Files (x86)\Java\jdk1.8.0_162\jre\lib\ext\sunmscapi.jar;D:\Program Files (x86)\Java\jdk1.8.0_162\jre\lib\ext\sunpkcs11.jar;D:\Program Files (x86)\Java\jdk1.8.0_162\jre\lib\ext\zipfs.jar;D:\Program Files (x86)\Java\jdk1.8.0_162\jre\lib\javaws.jar;D:\Program Files (x86)\Java\jdk1.8.0_162\jre\lib\jce.jar;D:\Program Files (x86)\Java\jdk1.8.0_162\jre\lib\jfr.jar;D:\Program Files (x86)\Java\jdk1.8.0_162\jre\lib\jfxswt.jar;D:\Program Files (x86)\Java\jdk1.8.0_162\jre\lib\jsse.jar;D:\Program Files (x86)\Java\jdk1.8.0_162\jre\lib\management-agent.jar;D:\Program Files (x86)\Java\jdk1.8.0_162\jre\lib\plugin.jar;D:\Program Files (x86)\Java\jdk1.8.0_162\jre\lib\resources.jar;D:\Program Files (x86)\Java\jdk1.8.0_162\jre\lib\rt.jar;D:\Idea_Projects\SpringCloudConfig\config-client\target\classes;C:\Users\V\.m2\repository\org\springframework\cloud\spring-cloud-starter-config\2.1.0.M1\spring-cloud-starter-config-2.1.0.M1.jar;C:\Users\V\.m2\repository\org\springframework\cloud\spring-cloud-starter\2.1.0.M1\spring-cloud-starter-2.1.0.M1.jar;C:\Users\V\.m2\repository\org\springframework\cloud\spring-cloud-context\2.1.0.M1\spring-cloud-context-2.1.0.M1.jar;C:\Users\V\.m2\repository\org\springframework\security\spring-security-crypto\5.1.1.RELEASE\spring-security-crypto-5.1.1.RELEASE.jar;C:\Users\V\.m2\repository\org\springframework\cloud\spring-cloud-commons\2.1.0.M1\spring-cloud-commons-2.1.0.M1.jar;C:\Users\V\.m2\repository\org\springframework\security\spring-security-rsa\1.0.7.RELEASE\spring-security-rsa-1.0.7.RELEASE.jar;C:\Users\V\.m2\repository\org\bouncycastle\bcpkix-jdk15on\1.60\bcpkix-jdk15on-1.60.jar;C:\Users\V\.m2\repository\org\bouncycastle\bcprov-jdk15on\1.60\bcprov-jdk15on-1.60.jar;C:\Users\V\.m2\repository\org\springframework\cloud\spring-cloud-config-client\2.1.0.M1\spring-cloud-config-client-2.1.0.M1.jar;C:\Users\V\.m2\repository\org\springframework\boot\spring-boot-autoconfigure\2.1.0.RELEASE\spring-boot-autoconfigure-2.1.0.RELEASE.jar;C:\Users\V\.m2\repository\com\fasterxml\jackson\core\jackson-annotations\2.9.0\jackson-annotations-2.9.0.jar;C:\Users\V\.m2\repository\com\fasterxml\jackson\core\jackson-databind\2.9.7\jackson-databind-2.9.7.jar;C:\Users\V\.m2\repository\com\fasterxml\jackson\core\jackson-core\2.9.7\jackson-core-2.9.7.jar;C:\Users\V\.m2\repository\org\springframework\boot\spring-boot-starter-web\2.1.0.RELEASE\spring-boot-starter-web-2.1.0.RELEASE.jar;C:\Users\V\.m2\repository\org\springframework\boot\spring-boot-starter\2.1.0.RELEASE\spring-boot-starter-2.1.0.RELEASE.jar;C:\Users\V\.m2\repository\org\springframework\boot\spring-boot\2.1.0.RELEASE\spring-boot-2.1.0.RELEASE.jar;C:\Users\V\.m2\repository\org\springframework\boot\spring-boot-starter-logging\2.1.0.RELEASE\spring-boot-starter-logging-2.1.0.RELEASE.jar;C:\Users\V\.m2\repository\ch\qos\logback\logback-classic\1.2.3\logback-classic-1.2.3.jar;C:\Users\V\.m2\repository\ch\qos\logback\logback-core\1.2.3\logback-core-1.2.3.jar;C:\Users\V\.m2\repository\org\apache\logging\log4j\log4j-to-slf4j\2.11.1\log4j-to-slf4j-2.11.1.jar;C:\Users\V\.m2\repository\org\apache\logging\log4j\log4j-api\2.11.1\log4j-api-2.11.1.jar;C:\Users\V\.m2\repository\org\slf4j\jul-to-slf4j\1.7.25\jul-to-slf4j-1.7.25.jar;C:\Users\V\.m2\repository\javax\annotation\javax.annotation-api\1.3.2\javax.annotation-api-1.3.2.jar;C:\Users\V\.m2\repository\org\yaml\snakeyaml\1.23\snakeyaml-1.23.jar;C:\Users\V\.m2\repository\org\springframework\boot\spring-boot-starter-json\2.1.0.RELEASE\spring-boot-starter-json-2.1.0.RELEASE.jar;C:\Users\V\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.9.7\jackson-datatype-jdk8-2.9.7.jar;C:\Users\V\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.9.7\jackson-datatype-jsr310-2.9.7.jar;C:\Users\V\.m2\repository\com\fasterxml\jackson\module\jackson-module-parameter-names\2.9.7\jackson-module-parameter-names-2.9.7.jar;C:\Users\V\.m2\repository\org\springframework\boot\spring-boot-starter-tomcat\2.1.0.RELEASE\spring-boot-starter-tomcat-2.1.0.RELEASE.jar;C:\Users\V\.m2\repository\org\apache\tomcat\embed\tomcat-embed-core\9.0.12\tomcat-embed-core-9.0.12.jar;C:\Users\V\.m2\repository\org\apache\tomcat\embed\tomcat-embed-el\9.0.12\tomcat-embed-el-9.0.12.jar;C:\Users\V\.m2\repository\org\apache\tomcat\embed\tomcat-embed-websocket\9.0.12\tomcat-embed-websocket-9.0.12.jar;C:\Users\V\.m2\repository\org\hibernate\validator\hibernate-validator\6.0.13.Final\hibernate-validator-6.0.13.Final.jar;C:\Users\V\.m2\repository\javax\validation\validation-api\2.0.1.Final\validation-api-2.0.1.Final.jar;C:\Users\V\.m2\repository\org\jboss\logging\jboss-logging\3.3.2.Final\jboss-logging-3.3.2.Final.jar;C:\Users\V\.m2\repository\com\fasterxml\classmate\1.4.0\classmate-1.4.0.jar;C:\Users\V\.m2\repository\org\springframework\spring-web\5.1.2.RELEASE\spring-web-5.1.2.RELEASE.jar;C:\Users\V\.m2\repository\org\springframework\spring-beans\5.1.2.RELEASE\spring-beans-5.1.2.RELEASE.jar;C:\Users\V\.m2\repository\org\springframework\spring-webmvc\5.1.2.RELEASE\spring-webmvc-5.1.2.RELEASE.jar;C:\Users\V\.m2\repository\org\springframework\spring-aop\5.1.2.RELEASE\spring-aop-5.1.2.RELEASE.jar;C:\Users\V\.m2\repository\org\springframework\spring-context\5.1.2.RELEASE\spring-context-5.1.2.RELEASE.jar;C:\Users\V\.m2\repository\org\springframework\spring-expression\5.1.2.RELEASE\spring-expression-5.1.2.RELEASE.jar;C:\Users\V\.m2\repository\org\springframework\cloud\spring-cloud-starter-netflix-eureka-client\2.1.0.M1\spring-cloud-starter-netflix-eureka-client-2.1.0.M1.jar;C:\Users\V\.m2\repository\org\springframework\cloud\spring-cloud-netflix-core\2.1.0.M1\spring-cloud-netflix-core-2.1.0.M1.jar;C:\Users\V\.m2\repository\org\springframework\boot\spring-boot-starter-aop\2.1.0.RELEASE\spring-boot-starter-aop-2.1.0.RELEASE.jar;C:\Users\V\.m2\repository\org\aspectj\aspectjweaver\1.9.2\aspectjweaver-1.9.2.jar;C:\Users\V\.m2\repository\org\springframework\cloud\spring-cloud-netflix-eureka-client\2.1.0.M1\spring-cloud-netflix-eureka-client-2.1.0.M1.jar;C:\Users\V\.m2\repository\com\netflix\eureka\eureka-client\1.9.3\eureka-client-1.9.3.jar;C:\Users\V\.m2\repository\org\codehaus\jettison\jettison\1.3.7\jettison-1.3.7.jar;C:\Users\V\.m2\repository\stax\stax-api\1.0.1\stax-api-1.0.1.jar;C:\Users\V\.m2\repository\com\netflix\netflix-commons\netflix-eventbus\0.3.0\netflix-eventbus-0.3.0.jar;C:\Users\V\.m2\repository\com\netflix\netflix-commons\netflix-infix\0.3.0\netflix-infix-0.3.0.jar;C:\Users\V\.m2\repository\commons-jxpath\commons-jxpath\1.3\commons-jxpath-1.3.jar;C:\Users\V\.m2\repository\joda-time\joda-time\2.10.1\joda-time-2.10.1.jar;C:\Users\V\.m2\repository\org\antlr\antlr-runtime\3.4\antlr-runtime-3.4.jar;C:\Users\V\.m2\repository\org\antlr\stringtemplate\3.2.1\stringtemplate-3.2.1.jar;C:\Users\V\.m2\repository\antlr\antlr\2.7.7\antlr-2.7.7.jar;C:\Users\V\.m2\repository\com\google\code\gson\gson\2.8.5\gson-2.8.5.jar;C:\Users\V\.m2\repository\org\apache\commons\commons-math\2.2\commons-math-2.2.jar;C:\Users\V\.m2\repository\com\netflix\archaius\archaius-core\0.7.6\archaius-core-0.7.6.jar;C:\Users\V\.m2\repository\com\google\guava\guava\16.0\guava-16.0.jar;C:\Users\V\.m2\repository\javax\ws\rs\jsr311-api\1.1.1\jsr311-api-1.1.1.jar;C:\Users\V\.m2\repository\com\netflix\servo\servo-core\0.12.21\servo-core-0.12.21.jar;C:\Users\V\.m2\repository\com\sun\jersey\jersey-core\1.19.1\jersey-core-1.19.1.jar;C:\Users\V\.m2\repository\com\sun\jersey\jersey-client\1.19.1\jersey-client-1.19.1.jar;C:\Users\V\.m2\repository\com\sun\jersey\contribs\jersey-apache-client4\1.19.1\jersey-apache-client4-1.19.1.jar;C:\Users\V\.m2\repository\org\apache\httpcomponents\httpclient\4.5.6\httpclient-4.5.6.jar;C:\Users\V\.m2\repository\org\apache\httpcomponents\httpcore\4.4.10\httpcore-4.4.10.jar;C:\Users\V\.m2\repository\commons-codec\commons-codec\1.11\commons-codec-1.11.jar;C:\Users\V\.m2\repository\com\google\inject\guice\4.1.0\guice-4.1.0.jar;C:\Users\V\.m2\repository\javax\inject\javax.inject\1\javax.inject-1.jar;C:\Users\V\.m2\repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar;C:\Users\V\.m2\repository\com\github\vlsi\compactmap\compactmap\1.2.1\compactmap-1.2.1.jar;C:\Users\V\.m2\repository\com\github\andrewoma\dexx\dexx-collections\0.2\dexx-collections-0.2.jar;C:\Users\V\.m2\repository\com\netflix\eureka\eureka-core\1.9.3\eureka-core-1.9.3.jar;C:\Users\V\.m2\repository\org\codehaus\woodstox\woodstox-core-asl\4.4.1\woodstox-core-asl-4.4.1.jar;C:\Users\V\.m2\repository\javax\xml\stream\stax-api\1.0-2\stax-api-1.0-2.jar;C:\Users\V\.m2\repository\org\codehaus\woodstox\stax2-api\3.1.4\stax2-api-3.1.4.jar;C:\Users\V\.m2\repository\org\springframework\cloud\spring-cloud-starter-netflix-archaius\2.1.0.M1\spring-cloud-starter-netflix-archaius-2.1.0.M1.jar;C:\Users\V\.m2\repository\org\springframework\cloud\spring-cloud-netflix-ribbon\2.1.0.M1\spring-cloud-netflix-ribbon-2.1.0.M1.jar;C:\Users\V\.m2\repository\org\springframework\cloud\spring-cloud-netflix-archaius\2.1.0.M1\spring-cloud-netflix-archaius-2.1.0.M1.jar;C:\Users\V\.m2\repository\commons-configuration\commons-configuration\1.8\commons-configuration-1.8.jar;C:\Users\V\.m2\repository\commons-lang\commons-lang\2.6\commons-lang-2.6.jar;C:\Users\V\.m2\repository\org\springframework\cloud\spring-cloud-starter-netflix-ribbon\2.1.0.M1\spring-cloud-starter-netflix-ribbon-2.1.0.M1.jar;C:\Users\V\.m2\repository\com\netflix\ribbon\ribbon\2.2.5\ribbon-2.2.5.jar;C:\Users\V\.m2\repository\com\netflix\ribbon\ribbon-transport\2.2.5\ribbon-transport-2.2.5.jar;C:\Users\V\.m2\repository\io\reactivex\rxnetty-contexts\0.4.9\rxnetty-contexts-0.4.9.jar;C:\Users\V\.m2\repository\io\reactivex\rxnetty-servo\0.4.9\rxnetty-servo-0.4.9.jar;C:\Users\V\.m2\repository\com\netflix\hystrix\hystrix-core\1.5.12\hystrix-core-1.5.12.jar;C:\Users\V\.m2\repository\io\reactivex\rxnetty\0.4.9\rxnetty-0.4.9.jar;C:\Users\V\.m2\repository\io\netty\netty-codec-http\4.1.29.Final\netty-codec-http-4.1.29.Final.jar;C:\Users\V\.m2\repository\io\netty\netty-codec\4.1.29.Final\netty-codec-4.1.29.Final.jar;C:\Users\V\.m2\repository\io\netty\netty-transport-native-epoll\4.1.29.Final\netty-transport-native-epoll-4.1.29.Final.jar;C:\Users\V\.m2\repository\io\netty\netty-common\4.1.29.Final\netty-common-4.1.29.Final.jar;C:\Users\V\.m2\repository\io\netty\netty-buffer\4.1.29.Final\netty-buffer-4.1.29.Final.jar;C:\Users\V\.m2\repository\io\netty\netty-transport-native-unix-common\4.1.29.Final\netty-transport-native-unix-common-4.1.29.Final.jar;C:\Users\V\.m2\repository\io\netty\netty-transport\4.1.29.Final\netty-transport-4.1.29.Final.jar;C:\Users\V\.m2\repository\io\netty\netty-resolver\4.1.29.Final\netty-resolver-4.1.29.Final.jar;C:\Users\V\.m2\repository\com\netflix\ribbon\ribbon-core\2.2.5\ribbon-core-2.2.5.jar;C:\Users\V\.m2\repository\com\netflix\ribbon\ribbon-httpclient\2.2.5\ribbon-httpclient-2.2.5.jar;C:\Users\V\.m2\repository\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;C:\Users\V\.m2\repository\com\netflix\netflix-commons\netflix-commons-util\0.3.0\netflix-commons-util-0.3.0.jar;C:\Users\V\.m2\repository\com\netflix\ribbon\ribbon-loadbalancer\2.2.5\ribbon-loadbalancer-2.2.5.jar;C:\Users\V\.m2\repository\com\netflix\netflix-commons\netflix-statistics\0.1.1\netflix-statistics-0.1.1.jar;C:\Users\V\.m2\repository\io\reactivex\rxjava\1.3.8\rxjava-1.3.8.jar;C:\Users\V\.m2\repository\com\netflix\ribbon\ribbon-eureka\2.2.5\ribbon-eureka-2.2.5.jar;C:\Users\V\.m2\repository\org\slf4j\slf4j-api\1.7.25\slf4j-api-1.7.25.jar;C:\Users\V\.m2\repository\com\thoughtworks\xstream\xstream\1.4.10\xstream-1.4.10.jar;C:\Users\V\.m2\repository\xmlpull\xmlpull\1.1.3.1\xmlpull-1.1.3.1.jar;C:\Users\V\.m2\repository\xpp3\xpp3_min\1.1.4c\xpp3_min-1.1.4c.jar;C:\Users\V\.m2\repository\org\springframework\cloud\spring-cloud-starter-bus-amqp\2.1.0.M1\spring-cloud-starter-bus-amqp-2.1.0.M1.jar;C:\Users\V\.m2\repository\org\springframework\cloud\spring-cloud-starter-stream-rabbit\2.1.0.M3\spring-cloud-starter-stream-rabbit-2.1.0.M3.jar;C:\Users\V\.m2\repository\org\springframework\cloud\spring-cloud-stream-binder-rabbit\2.1.0.M3\spring-cloud-stream-binder-rabbit-2.1.0.M3.jar;C:\Users\V\.m2\repository\org\springframework\cloud\spring-cloud-stream-binder-rabbit-core\2.1.0.M3\spring-cloud-stream-binder-rabbit-core-2.1.0.M3.jar;C:\Users\V\.m2\repository\com\rabbitmq\http-client\2.1.0.RELEASE\http-client-2.1.0.RELEASE.jar;C:\Users\V\.m2\repository\org\springframework\boot\spring-boot-starter-amqp\2.1.0.RELEASE\spring-boot-starter-amqp-2.1.0.RELEASE.jar;C:\Users\V\.m2\repository\org\springframework\amqp\spring-rabbit\2.1.0.RELEASE\spring-rabbit-2.1.0.RELEASE.jar;C:\Users\V\.m2\repository\org\springframework\amqp\spring-amqp\2.1.0.RELEASE\spring-amqp-2.1.0.RELEASE.jar;C:\Users\V\.m2\repository\com\rabbitmq\amqp-client\5.4.3\amqp-client-5.4.3.jar;C:\Users\V\.m2\repository\org\springframework\integration\spring-integration-amqp\5.1.0.RELEASE\spring-integration-amqp-5.1.0.RELEASE.jar;C:\Users\V\.m2\repository\org\springframework\integration\spring-integration-jmx\5.1.0.RELEASE\spring-integration-jmx-5.1.0.RELEASE.jar;C:\Users\V\.m2\repository\org\springframework\cloud\spring-cloud-bus\2.1.0.M1\spring-cloud-bus-2.1.0.M1.jar;C:\Users\V\.m2\repository\org\springframework\cloud\spring-cloud-stream\2.1.0.M3\spring-cloud-stream-2.1.0.M3.jar;C:\Users\V\.m2\repository\org\springframework\boot\spring-boot-starter-validation\2.1.0.RELEASE\spring-boot-starter-validation-2.1.0.RELEASE.jar;C:\Users\V\.m2\repository\org\springframework\spring-messaging\5.1.2.RELEASE\spring-messaging-5.1.2.RELEASE.jar;C:\Users\V\.m2\repository\org\springframework\spring-tuple\1.0.0.RELEASE\spring-tuple-1.0.0.RELEASE.jar;C:\Users\V\.m2\repository\com\esotericsoftware\kryo-shaded\3.0.3\kryo-shaded-3.0.3.jar;C:\Users\V\.m2\repository\com\esotericsoftware\minlog\1.3.0\minlog-1.3.0.jar;C:\Users\V\.m2\repository\org\springframework\integration\spring-integration-tuple\1.0.0.RELEASE\spring-integration-tuple-1.0.0.RELEASE.jar;C:\Users\V\.m2\repository\org\springframework\retry\spring-retry\1.2.2.RELEASE\spring-retry-1.2.2.RELEASE.jar;C:\Users\V\.m2\repository\org\springframework\cloud\spring-cloud-function-context\2.0.0.M2\spring-cloud-function-context-2.0.0.M2.jar;C:\Users\V\.m2\repository\org\springframework\cloud\spring-cloud-function-core\2.0.0.M2\spring-cloud-function-core-2.0.0.M2.jar;C:\Users\V\.m2\repository\org\springframework\integration\spring-integration-core\5.1.0.RELEASE\spring-integration-core-5.1.0.RELEASE.jar;C:\Users\V\.m2\repository\org\springframework\spring-tx\5.1.2.RELEASE\spring-tx-5.1.2.RELEASE.jar;C:\Users\V\.m2\repository\io\projectreactor\reactor-core\3.2.2.RELEASE\reactor-core-3.2.2.RELEASE.jar;C:\Users\V\.m2\repository\org\reactivestreams\reactive-streams\1.0.2\reactive-streams-1.0.2.jar;C:\Users\V\.m2\repository\org\springframework\boot\spring-boot-starter-actuator\2.1.0.RELEASE\spring-boot-starter-actuator-2.1.0.RELEASE.jar;C:\Users\V\.m2\repository\org\springframework\boot\spring-boot-actuator-autoconfigure\2.1.0.RELEASE\spring-boot-actuator-autoconfigure-2.1.0.RELEASE.jar;C:\Users\V\.m2\repository\org\springframework\boot\spring-boot-actuator\2.1.0.RELEASE\spring-boot-actuator-2.1.0.RELEASE.jar;C:\Users\V\.m2\repository\io\micrometer\micrometer-core\1.1.0\micrometer-core-1.1.0.jar;C:\Users\V\.m2\repository\org\hdrhistogram\HdrHistogram\2.1.9\HdrHistogram-2.1.9.jar;C:\Users\V\.m2\repository\org\latencyutils\LatencyUtils\2.0.3\LatencyUtils-2.0.3.jar;C:\Users\V\.m2\repository\org\springframework\boot\spring-boot-starter-test\2.1.0.RELEASE\spring-boot-starter-test-2.1.0.RELEASE.jar;C:\Users\V\.m2\repository\org\springframework\boot\spring-boot-test\2.1.0.RELEASE\spring-boot-test-2.1.0.RELEASE.jar;C:\Users\V\.m2\repository\org\springframework\boot\spring-boot-test-autoconfigure\2.1.0.RELEASE\spring-boot-test-autoconfigure-2.1.0.RELEASE.jar;C:\Users\V\.m2\repository\com\jayway\jsonpath\json-path\2.4.0\json-path-2.4.0.jar;C:\Users\V\.m2\repository\net\minidev\json-smart\2.3\json-smart-2.3.jar;C:\Users\V\.m2\repository\net\minidev\accessors-smart\1.2\accessors-smart-1.2.jar;C:\Users\V\.m2\repository\org\ow2\asm\asm\5.0.4\asm-5.0.4.jar;C:\Users\V\.m2\repository\junit\junit\4.12\junit-4.12.jar;C:\Users\V\.m2\repository\org\assertj\assertj-core\3.11.1\assertj-core-3.11.1.jar;C:\Users\V\.m2\repository\org\mockito\mockito-core\2.23.0\mockito-core-2.23.0.jar;C:\Users\V\.m2\repository\net\bytebuddy\byte-buddy\1.9.3\byte-buddy-1.9.3.jar;C:\Users\V\.m2\repository\net\bytebuddy\byte-buddy-agent\1.9.3\byte-buddy-agent-1.9.3.jar;C:\Users\V\.m2\repository\org\objenesis\objenesis\2.6\objenesis-2.6.jar;C:\Users\V\.m2\repository\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar;C:\Users\V\.m2\repository\org\hamcrest\hamcrest-library\1.3\hamcrest-library-1.3.jar;C:\Users\V\.m2\repository\org\skyscreamer\jsonassert\1.5.0\jsonassert-1.5.0.jar;C:\Users\V\.m2\repository\com\vaadin\external\google\android-json\0.0.20131108.vaadin1\android-json-0.0.20131108.vaadin1.jar;C:\Users\V\.m2\repository\org\springframework\spring-core\5.1.2.RELEASE\spring-core-5.1.2.RELEASE.jar;C:\Users\V\.m2\repository\org\springframework\spring-jcl\5.1.2.RELEASE\spring-jcl-5.1.2.RELEASE.jar;C:\Users\V\.m2\repository\org\springframework\spring-test\5.1.2.RELEASE\spring-test-5.1.2.RELEASE.jar;C:\Users\V\.m2\repository\org\xmlunit\xmlunit-core\2.6.2\xmlunit-core-2.6.2.jar" com.v.ConfigClientApplication2018-11-13 10:42:14.421 INFO 236840 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'configurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$782e1713] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-11-13 10:42:14.830 INFO 236840 --- [ main] o.s.c.n.eureka.InstanceInfoFactory : Setting initial instance status as: STARTING
2018-11-13 10:42:14.889 INFO 236840 --- [ main] com.netflix.discovery.DiscoveryClient : Initializing Eureka in region us-east-1
2018-11-13 10:42:15.447 INFO 236840 --- [ main] c.n.d.provider.DiscoveryJerseyProvider : Using JSON encoding codec LegacyJacksonJson
2018-11-13 10:42:15.447 INFO 236840 --- [ main] c.n.d.provider.DiscoveryJerseyProvider : Using JSON decoding codec LegacyJacksonJson
2018-11-13 10:42:15.591 INFO 236840 --- [ main] c.n.d.provider.DiscoveryJerseyProvider : Using XML encoding codec XStreamXml
2018-11-13 10:42:15.591 INFO 236840 --- [ main] c.n.d.provider.DiscoveryJerseyProvider : Using XML decoding codec XStreamXml
2018-11-13 10:42:15.796 INFO 236840 --- [ main] c.n.d.s.r.aws.ConfigClusterResolver : Resolving eureka endpoints via configuration
2018-11-13 10:42:15.976 INFO 236840 --- [ main] com.netflix.discovery.DiscoveryClient : Disable delta property : false
2018-11-13 10:42:15.976 INFO 236840 --- [ main] com.netflix.discovery.DiscoveryClient : Single vip registry refresh property : null
2018-11-13 10:42:15.976 INFO 236840 --- [ main] com.netflix.discovery.DiscoveryClient : Force full registry fetch : false
2018-11-13 10:42:15.976 INFO 236840 --- [ main] com.netflix.discovery.DiscoveryClient : Application is null : false
2018-11-13 10:42:15.976 INFO 236840 --- [ main] com.netflix.discovery.DiscoveryClient : Registered Applications size is zero : true
2018-11-13 10:42:15.977 INFO 236840 --- [ main] com.netflix.discovery.DiscoveryClient : Application version is -1: true
2018-11-13 10:42:15.977 INFO 236840 --- [ main] com.netflix.discovery.DiscoveryClient : Getting all instance registry info from the eureka server
2018-11-13 10:42:16.159 INFO 236840 --- [ main] com.netflix.discovery.DiscoveryClient : The response status is 200
2018-11-13 10:42:16.162 INFO 236840 --- [ main] com.netflix.discovery.DiscoveryClient : Not registering with Eureka server per configuration
2018-11-13 10:42:16.168 INFO 236840 --- [ main] com.netflix.discovery.DiscoveryClient : Discovery Client initialized at timestamp 1542076936166 with initial instances count: 1
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.1.0.RELEASE)
2018-11-13 10:42:16.567 INFO 236840 --- [ main] c.c.c.ConfigServicePropertySourceLocator : Fetching config from server at : http://v:8882/
2018-11-13 10:43:20.084 INFO 236840 --- [ main] c.c.c.ConfigServicePropertySourceLocator : Located environment: name=config-client, profiles=[dev], label=master, version=59c13af0d335d430bad70e919629e0cd445b9164, state=null
2018-11-13 10:43:20.084 INFO 236840 --- [ main] b.c.PropertySourceBootstrapConfiguration : Located property source: CompositePropertySource {name='configService', propertySources=[MapPropertySource {name='configClient'}, MapPropertySource {name='https://github.com/VLoye/SpringCloudConfigRespo//respo/config-client-dev.yml'}]}
2018-11-13 10:43:20.088 INFO 236840 --- [ main] com.v.ConfigClientApplication : No active profile set, falling back to default profiles: default
2018-11-13 10:43:20.956 WARN 236840 --- [ main] o.s.boot.actuate.endpoint.EndpointId : Endpoint ID 'bus-env' contains invalid characters, please migrate to a valid format.
2018-11-13 10:43:21.019 WARN 236840 --- [ main] o.s.boot.actuate.endpoint.EndpointId : Endpoint ID 'service-registry' contains invalid characters, please migrate to a valid format.
2018-11-13 10:43:21.238 INFO 236840 --- [ main] o.s.cloud.context.scope.GenericScope : BeanFactory id=ba11c084-631d-397f-98de-9c8ef085ed71
2018-11-13 10:43:21.248 INFO 236840 --- [ main] faultConfiguringBeanFactoryPostProcessor : No bean named 'errorChannel' has been explicitly defined. Therefore, a default PublishSubscribeChannel will be created.
2018-11-13 10:43:21.257 INFO 236840 --- [ main] faultConfiguringBeanFactoryPostProcessor : No bean named 'taskScheduler' has been explicitly defined. Therefore, a default ThreadPoolTaskScheduler will be created.
2018-11-13 10:43:21.266 INFO 236840 --- [ main] faultConfiguringBeanFactoryPostProcessor : No bean named 'integrationHeaderChannelRegistry' has been explicitly defined. Therefore, a default DefaultHeaderChannelRegistry will be created.
2018-11-13 10:43:21.294 INFO 236840 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.amqp.rabbit.annotation.RabbitBootstrapConfiguration' of type [org.springframework.amqp.rabbit.annotation.RabbitBootstrapConfiguration$$EnhancerBySpringCGLIB$$227fd244] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-11-13 10:43:21.358 INFO 236840 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.integration.config.IntegrationManagementConfiguration' of type [org.springframework.integration.config.IntegrationManagementConfiguration$$EnhancerBySpringCGLIB$$c705cf45] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-11-13 10:43:21.368 INFO 236840 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.integration.IntegrationAutoConfiguration$IntegrationJmxConfiguration' of type [org.springframework.boot.autoconfigure.integration.IntegrationAutoConfiguration$IntegrationJmxConfiguration$$EnhancerBySpringCGLIB$$a297da65] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-11-13 10:43:21.376 INFO 236840 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.jmx.JmxAutoConfiguration' of type [org.springframework.boot.autoconfigure.jmx.JmxAutoConfiguration$$EnhancerBySpringCGLIB$$db7f8332] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-11-13 10:43:21.381 INFO 236840 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'mbeanServer' of type [com.sun.jmx.mbeanserver.JmxMBeanServer] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-11-13 10:43:21.393 INFO 236840 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'integrationDisposableAutoCreatedBeans' of type [org.springframework.integration.config.annotation.Disposables] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-11-13 10:43:21.416 INFO 236840 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$782e1713] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-11-13 10:43:21.774 INFO 236840 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8881 (http)
2018-11-13 10:43:21.795 INFO 236840 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2018-11-13 10:43:21.795 INFO 236840 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/9.0.12
2018-11-13 10:43:21.802 INFO 236840 --- [ main] o.a.catalina.core.AprLifecycleListener : Loaded APR based Apache Tomcat Native library [1.2.16] using APR version [1.6.3].
2018-11-13 10:43:21.802 INFO 236840 --- [ main] o.a.catalina.core.AprLifecycleListener : APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2018-11-13 10:43:21.802 INFO 236840 --- [ main] o.a.catalina.core.AprLifecycleListener : APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
2018-11-13 10:43:22.919 INFO 236840 --- [ main] o.a.catalina.core.AprLifecycleListener : OpenSSL successfully initialized [OpenSSL 1.0.2m 2 Nov 2017]
2018-11-13 10:43:23.120 INFO 236840 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2018-11-13 10:43:23.120 INFO 236840 --- [ main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 3016 ms
2018-11-13 10:43:23.236 WARN 236840 --- [ main] c.n.c.sources.URLConfigurationSource : No URLs will be polled as dynamic configuration sources.
2018-11-13 10:43:23.236 INFO 236840 --- [ main] c.n.c.sources.URLConfigurationSource : To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
2018-11-13 10:43:23.245 INFO 236840 --- [ main] c.netflix.config.DynamicPropertyFactory : DynamicPropertyFactory is initialized with configuration sources: [email protected]
2018-11-13 10:43:24.252 INFO 236840 --- [ main] o.s.c.n.eureka.InstanceInfoFactory : Setting initial instance status as: STARTING
2018-11-13 10:43:24.257 INFO 236840 --- [ main] com.netflix.discovery.DiscoveryClient : Initializing Eureka in region us-east-1
2018-11-13 10:43:24.261 INFO 236840 --- [ main] c.n.d.provider.DiscoveryJerseyProvider : Using JSON encoding codec LegacyJacksonJson
2018-11-13 10:43:24.262 INFO 236840 --- [ main] c.n.d.provider.DiscoveryJerseyProvider : Using JSON decoding codec LegacyJacksonJson
2018-11-13 10:43:24.262 INFO 236840 --- [ main] c.n.d.provider.DiscoveryJerseyProvider : Using XML encoding codec XStreamXml
2018-11-13 10:43:24.262 INFO 236840 --- [ main] c.n.d.provider.DiscoveryJerseyProvider : Using XML decoding codec XStreamXml
2018-11-13 10:43:24.361 INFO 236840 --- [ main] c.n.d.s.r.aws.ConfigClusterResolver : Resolving eureka endpoints via configuration
2018-11-13 10:43:24.362 INFO 236840 --- [ main] com.netflix.discovery.DiscoveryClient : Disable delta property : false
2018-11-13 10:43:24.363 INFO 236840 --- [ main] com.netflix.discovery.DiscoveryClient : Single vip registry refresh property : null
2018-11-13 10:43:24.363 INFO 236840 --- [ main] com.netflix.discovery.DiscoveryClient : Force full registry fetch : false
2018-11-13 10:43:24.363 INFO 236840 --- [ main] com.netflix.discovery.DiscoveryClient : Application is null : false
2018-11-13 10:43:24.363 INFO 236840 --- [ main] com.netflix.discovery.DiscoveryClient : Registered Applications size is zero : true
2018-11-13 10:43:24.363 INFO 236840 --- [ main] com.netflix.discovery.DiscoveryClient : Application version is -1: true
2018-11-13 10:43:24.363 INFO 236840 --- [ main] com.netflix.discovery.DiscoveryClient : Getting all instance registry info from the eureka server
2018-11-13 10:43:24.368 INFO 236840 --- [ main] com.netflix.discovery.DiscoveryClient : The response status is 200
2018-11-13 10:43:24.369 INFO 236840 --- [ main] com.netflix.discovery.DiscoveryClient : Starting heartbeat executor: renew interval is: 30
2018-11-13 10:43:24.372 INFO 236840 --- [ main] c.n.discovery.InstanceInfoReplicator : InstanceInfoReplicator onDemand update allowed rate per min is 4
2018-11-13 10:43:24.373 INFO 236840 --- [ main] com.netflix.discovery.DiscoveryClient : Discovery Client initialized at timestamp 1542077004373 with initial instances count: 1
2018-11-13 10:43:24.537 WARN 236840 --- [ main] o.s.boot.actuate.endpoint.EndpointId : Endpoint ID 'bus-refresh' contains invalid characters, please migrate to a valid format.
2018-11-13 10:43:24.662 INFO 236840 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*]
2018-11-13 10:43:24.662 INFO 236840 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'webMvcMetricsFilter' to: [/*]
2018-11-13 10:43:24.662 INFO 236840 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2018-11-13 10:43:24.663 INFO 236840 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'formContentFilter' to: [/*]
2018-11-13 10:43:24.663 INFO 236840 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*]
2018-11-13 10:43:24.663 INFO 236840 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'httpTraceFilter' to: [/*]
2018-11-13 10:43:24.663 INFO 236840 --- [ main] o.s.b.w.servlet.ServletRegistrationBean : Servlet dispatcherServlet mapped to [/]
2018-11-13 10:43:24.710 WARN 236840 --- [ main] c.n.c.sources.URLConfigurationSource : No URLs will be polled as dynamic configuration sources.
2018-11-13 10:43:24.711 INFO 236840 --- [ main] c.n.c.sources.URLConfigurationSource : To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
2018-11-13 10:43:24.911 INFO 236840 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'
2018-11-13 10:43:25.661 INFO 236840 --- [ main] com.netflix.discovery.DiscoveryClient : Shutting down DiscoveryClient ...
2018-11-13 10:43:25.668 INFO 236840 --- [ main] com.netflix.discovery.DiscoveryClient : Completed shut down of DiscoveryClient
2018-11-13 10:43:25.679 INFO 236840 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 1 endpoint(s) beneath base path '/actuator'
2018-11-13 10:43:25.740 INFO 236840 --- [ main] o.s.s.c.ThreadPoolTaskScheduler : Initializing ExecutorService 'taskScheduler'
2018-11-13 10:43:25.922 INFO 236840 --- [ main] o.s.i.monitor.IntegrationMBeanExporter : Registering MessageChannel springCloudBusInput
2018-11-13 10:43:25.987 INFO 236840 --- [ main] o.s.i.monitor.IntegrationMBeanExporter : Registering MessageChannel nullChannel
2018-11-13 10:43:26.003 INFO 236840 --- [ main] o.s.i.monitor.IntegrationMBeanExporter : Registering MessageChannel springCloudBusOutput
2018-11-13 10:43:26.010 INFO 236840 --- [ main] o.s.i.monitor.IntegrationMBeanExporter : Registering MessageChannel errorChannel
2018-11-13 10:43:26.054 INFO 236840 --- [ main] o.s.i.monitor.IntegrationMBeanExporter : Registering MessageHandler errorLogger
2018-11-13 10:43:26.096 INFO 236840 --- [ main] o.s.i.endpoint.EventDrivenConsumer : Adding {logging-channel-adapter:_org.springframework.integration.errorLogger} as a subscriber to the 'errorChannel' channel
2018-11-13 10:43:26.096 INFO 236840 --- [ main] o.s.i.channel.PublishSubscribeChannel : Channel 'config-client-1.errorChannel' has 1 subscriber(s).
2018-11-13 10:43:26.096 INFO 236840 --- [ main] o.s.i.endpoint.EventDrivenConsumer : started _org.springframework.integration.errorLogger
2018-11-13 10:43:26.101 INFO 236840 --- [ main] o.s.c.n.e.s.EurekaServiceRegistry : Registering application config-client with eureka with status UP
2018-11-13 10:43:26.102 INFO 236840 --- [ main] com.netflix.discovery.DiscoveryClient : Saw local status change event StatusChangeEvent [timestamp=1542077006102, current=UP, previous=STARTING]
2018-11-13 10:43:26.104 INFO 236840 --- [nfoReplicator-0] com.netflix.discovery.DiscoveryClient : DiscoveryClient_CONFIG-CLIENT/v:config-client:8881: registering service...
2018-11-13 10:43:26.148 INFO 236840 --- [nfoReplicator-0] com.netflix.discovery.DiscoveryClient : DiscoveryClient_CONFIG-CLIENT/v:config-client:8881 - registration status: 204
2018-11-13 10:43:26.190 INFO 236840 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8881 (http) with context path ''
2018-11-13 10:43:26.191 INFO 236840 --- [ main] .s.c.n.e.s.EurekaAutoServiceRegistration : Updating port to 8881
2018-11-13 10:43:26.195 INFO 236840 --- [ main] com.v.ConfigClientApplication : Started ConfigClientApplication in 74.287 seconds (JVM running for 75.385)
2018-11-13 10:43:48.473 INFO 236840 --- [nio-8881-exec-1] o.apache.tomcat.util.http.parser.Cookie : A cookie header was received [1536380445,1536807685,1537867273; Idea-8c5ef23a=34839816-3226-46fb-8714-5e987ad29733; m=2258:Z3Vlc3Q6Z3Vlc3Q%253D] that contained an invalid cookie. That cookie will be ignored.Note: further occurrences of this error will be logged at DEBUG level.
2018-11-13 10:43:48.483 INFO 236840 --- [nio-8881-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
2018-11-13 10:43:48.483 INFO 236840 --- [nio-8881-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
2018-11-13 10:43:48.497 INFO 236840 --- [nio-8881-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 14 ms
详细报错信息
2018-11-13 10:51:48.452 ERROR 236840 --- [nio-8881-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.messaging.MessageDeliveryException: Dispatcher has no subscribers for channel 'config-client-1.springCloudBusOutput'.; nested exception is org.springframework.integration.MessageDispatchingException: Dispatcher has no subscribers, failedMessage=GenericMessage [payload=byte[206], headers={contentType=application/json, id=a10ff724-76ca-b29a-9a7f-7c717ed66252, timestamp=1542077508374}], failedMessage=GenericMessage [payload=byte[206], headers={contentType=application/json, id=a10ff724-76ca-b29a-9a7f-7c717ed66252, timestamp=1542077508374}]] with root cause
刚学习spring cloud 的新手,希望大神看到可以帮忙解决一下,或者不吝赐教我应该从哪些方面去排查这故障,谢谢
回答
今天有空重新看了一下githubs上的issues,发现作者已经正式把这个问题确定为一个bug,同时也表示正在修复中~
传送链:https://github.com/spring-clo...
我遇到问题和你是一模一样的,困扰了我好几天!终于找到了解决办法:
1.spring cloud 版本改为:Finchley.RELEASE
2.srping boot版本改为:2.0.3(Finchley.RELEASE对应的spring boot版本)
3.maven Reimport 工程
再重新启动就ok了。
至于springcloud:Greenwich.M1 这个版本为啥不行,我还是没找到原因。
你好,请问你这个问题是怎么解决的呢?我怕用的Greenwich.M3和spring-boot2.1.0.RELEASE也有这个问题,发送/actuactor/bus-refresh时config的server端有响应,但是client端还是旧的值。
以上是 【java】spring cloud config+bus配置中心,出现Dispatcher has no subscribers错误 的全部内容, 来源链接: utcz.com/a/72721.html