nacos原因导致的项目启动失败?

Blade 未结 1 795
firingace
firingace 2022-09-25 21:42

一、该问题的重现步骤是什么?

1. 完全按照文档中的步骤进行准备工作,包括nacos,seata,sentinal的服务启动,并且都启动成功,相应的配置文件也都设置好。

2. 启动springBlade服务的时候失败,第一个就失败,日志包nacos服务注册有问题,NacosException: Client not connected, current status:STARTING 等等的好几个报错。



三、你正在使用的是什么产品,什么版本?在什么操作系统上?

使用的是最新版的,直接从仓库拉下来的代码。

四、请提供详细的错误堆栈信息,这很重要。

"C:\Program Files\Java\jdk1.8.0_152\bin\java.exe" -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true "-javaagent:C:\IntelliJ IDEA 2021.3.3\lib\idea_rt.jar=12318:C:\IntelliJ IDEA 2021.3.3\bin" -Dfile.encoding=UTF-8 -classpath "C:\Program Files\Java\jdk1.8.0_152\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\ext\jfxrt.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\ext\nashorn.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\ext\sunec.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\ext\sunpkcs11.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\ext\zipfs.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\jfxswt.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\rt.jar;C:\Users\haydn\Desktop\微服务脚手架\SpringBlade\blade-auth\target\classes;C:\Users\haydn\Desktop\微服务脚手架\SpringBlade\blade-common\target\classes;D:\Maven\repo\org\springblade\blade-core-launch\3.4.1\blade-core-launch-3.4.1.jar;D:\Maven\repo\org\springframework\boot\spring-boot-starter-web\2.7.1\spring-boot-starter-web-2.7.1.jar;D:\Maven\repo\org\springframework\boot\spring-boot-starter-json\2.7.1\spring-boot-starter-json-2.7.1.jar;D:\Maven\repo\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.13.3\jackson-datatype-jdk8-2.13.3.jar;D:\Maven\repo\com\fasterxml\jackson\module\jackson-module-parameter-names\2.13.3\jackson-module-parameter-names-2.13.3.jar;D:\Maven\repo\org\springframework\spring-webmvc\5.3.21\spring-webmvc-5.3.21.jar;D:\Maven\repo\org\springframework\spring-expression\5.3.21\spring-expression-5.3.21.jar;D:\Maven\repo\org\springframework\boot\spring-boot-starter-undertow\2.7.1\spring-boot-starter-undertow-2.7.1.jar;D:\Maven\repo\io\undertow\undertow-core\2.2.18.Final\undertow-core-2.2.18.Final.jar;D:\Maven\repo\org\jboss\xnio\xnio-api\3.8.7.Final\xnio-api-3.8.7.Final.jar;D:\Maven\repo\org\wildfly\common\wildfly-common\1.5.4.Final\wildfly-common-1.5.4.Final.jar;D:\Maven\repo\org\wildfly\client\wildfly-client-config\1.0.1.Final\wildfly-client-config-1.0.1.Final.jar;D:\Maven\repo\org\jboss\xnio\xnio-nio\3.8.7.Final\xnio-nio-3.8.7.Final.jar;D:\Maven\repo\org\jboss\threads\jboss-threads\3.1.0.Final\jboss-threads-3.1.0.Final.jar;D:\Maven\repo\io\undertow\undertow-servlet\2.2.18.Final\undertow-servlet-2.2.18.Final.jar;D:\Maven\repo\io\undertow\undertow-websockets-jsr\2.2.18.Final\undertow-websockets-jsr-2.2.18.Final.jar;D:\Maven\repo\jakarta\servlet\jakarta.servlet-api\4.0.4\jakarta.servlet-api-4.0.4.jar;D:\Maven\repo\jakarta\websocket\jakarta.websocket-api\1.1.2\jakarta.websocket-api-1.1.2.jar;D:\Maven\repo\org\apache\tomcat\embed\tomcat-embed-el\9.0.64\tomcat-embed-el-9.0.64.jar;D:\Maven\repo\org\springblade\blade-core-loadbalancer\3.4.1\blade-core-loadbalancer-3.4.1.jar;D:\Maven\repo\org\springblade\blade-core-secure\3.4.1\blade-core-secure-3.4.1.jar;D:\Maven\repo\io\jsonwebtoken\jjwt-impl\0.11.2\jjwt-impl-0.11.2.jar;D:\Maven\repo\io\jsonwebtoken\jjwt-api\0.11.2\jjwt-api-0.11.2.jar;D:\Maven\repo\io\jsonwebtoken\jjwt-jackson\0.11.2\jjwt-jackson-0.11.2.jar;D:\Maven\repo\org\springblade\blade-core-tool\3.4.1\blade-core-tool-3.4.1.jar;D:\Maven\repo\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.13.3\jackson-datatype-jsr310-2.13.3.jar;D:\Maven\repo\io\protostuff\protostuff-core\1.6.0\protostuff-core-1.6.0.jar;D:\Maven\repo\io\protostuff\protostuff-api\1.6.0\protostuff-api-1.6.0.jar;D:\Maven\repo\io\protostuff\protostuff-runtime\1.6.0\protostuff-runtime-1.6.0.jar;D:\Maven\repo\io\protostuff\protostuff-collectionschema\1.6.0\protostuff-collectionschema-1.6.0.jar;D:\Maven\repo\org\springframework\boot\spring-boot-starter-data-redis\2.7.1\spring-boot-starter-data-redis-2.7.1.jar;D:\Maven\repo\org\springframework\data\spring-data-redis\2.7.1\spring-data-redis-2.7.1.jar;D:\Maven\repo\org\springframework\data\spring-data-keyvalue\2.7.1\spring-data-keyvalue-2.7.1.jar;D:\Maven\repo\org\springframework\data\spring-data-commons\2.7.1\spring-data-commons-2.7.1.jar;D:\Maven\repo\org\springframework\spring-oxm\5.3.21\spring-oxm-5.3.21.jar;D:\Maven\repo\io\lettuce\lettuce-core\6.1.8.RELEASE\lettuce-core-6.1.8.RELEASE.jar;D:\Maven\repo\org\springframework\boot\spring-boot-starter-jdbc\2.7.1\spring-boot-starter-jdbc-2.7.1.jar;D:\Maven\repo\org\springframework\boot\spring-boot-starter\2.7.1\spring-boot-starter-2.7.1.jar;D:\Maven\repo\org\springframework\boot\spring-boot\2.7.1\spring-boot-2.7.1.jar;D:\Maven\repo\org\springframework\boot\spring-boot-starter-logging\2.7.1\spring-boot-starter-logging-2.7.1.jar;D:\Maven\repo\ch\qos\logback\logback-classic\1.2.11\logback-classic-1.2.11.jar;D:\Maven\repo\ch\qos\logback\logback-core\1.2.11\logback-core-1.2.11.jar;D:\Maven\repo\org\apache\logging\log4j\log4j-to-slf4j\2.17.2\log4j-to-slf4j-2.17.2.jar;D:\Maven\repo\org\apache\logging\log4j\log4j-api\2.17.2\log4j-api-2.17.2.jar;D:\Maven\repo\org\slf4j\jul-to-slf4j\1.7.36\jul-to-slf4j-1.7.36.jar;D:\Maven\repo\jakarta\annotation\jakarta.annotation-api\1.3.5\jakarta.annotation-api-1.3.5.jar;D:\Maven\repo\com\zaxxer\HikariCP\4.0.3\HikariCP-4.0.3.jar;D:\Maven\repo\org\springframework\spring-jdbc\5.3.21\spring-jdbc-5.3.21.jar;D:\Maven\repo\org\springframework\spring-tx\5.3.21\spring-tx-5.3.21.jar;D:\Maven\repo\org\springframework\boot\spring-boot-starter-aop\2.7.1\spring-boot-starter-aop-2.7.1.jar;D:\Maven\repo\org\springframework\spring-aop\5.3.21\spring-aop-5.3.21.jar;D:\Maven\repo\org\aspectj\aspectjweaver\1.9.7\aspectjweaver-1.9.7.jar;D:\Maven\repo\org\springframework\boot\spring-boot-starter-actuator\2.7.1\spring-boot-starter-actuator-2.7.1.jar;D:\Maven\repo\org\springframework\boot\spring-boot-actuator-autoconfigure\2.7.1\spring-boot-actuator-autoconfigure-2.7.1.jar;D:\Maven\repo\org\springframework\boot\spring-boot-actuator\2.7.1\spring-boot-actuator-2.7.1.jar;D:\Maven\repo\io\micrometer\micrometer-core\1.9.1\micrometer-core-1.9.1.jar;D:\Maven\repo\org\hdrhistogram\HdrHistogram\2.1.12\HdrHistogram-2.1.12.jar;D:\Maven\repo\org\latencyutils\LatencyUtils\2.0.3\LatencyUtils-2.0.3.jar;D:\Maven\repo\org\springframework\retry\spring-retry\1.3.3\spring-retry-1.3.3.jar;D:\Maven\repo\org\hibernate\validator\hibernate-validator\6.2.3.Final\hibernate-validator-6.2.3.Final.jar;D:\Maven\repo\jakarta\validation\jakarta.validation-api\2.0.2\jakarta.validation-api-2.0.2.jar;D:\Maven\repo\org\jboss\logging\jboss-logging\3.4.3.Final\jboss-logging-3.4.3.Final.jar;D:\Maven\repo\com\fasterxml\classmate\1.5.1\classmate-1.5.1.jar;D:\Maven\repo\org\springframework\cloud\spring-cloud-starter-openfeign\3.1.3\spring-cloud-starter-openfeign-3.1.3.jar;D:\Maven\repo\org\springframework\cloud\spring-cloud-starter\3.1.3\spring-cloud-starter-3.1.3.jar;D:\Maven\repo\org\springframework\security\spring-security-rsa\1.0.10.RELEASE\spring-security-rsa-1.0.10.RELEASE.jar;D:\Maven\repo\org\bouncycastle\bcpkix-jdk15on\1.59\bcpkix-jdk15on-1.59.jar;D:\Maven\repo\org\bouncycastle\bcprov-jdk15on\1.59\bcprov-jdk15on-1.59.jar;D:\Maven\repo\org\springframework\cloud\spring-cloud-openfeign-core\3.1.3\spring-cloud-openfeign-core-3.1.3.jar;D:\Maven\repo\org\springframework\boot\spring-boot-autoconfigure\2.7.1\spring-boot-autoconfigure-2.7.1.jar;D:\Maven\repo\io\github\openfeign\form\feign-form-spring\3.8.0\feign-form-spring-3.8.0.jar;D:\Maven\repo\io\github\openfeign\form\feign-form\3.8.0\feign-form-3.8.0.jar;D:\Maven\repo\commons-fileupload\commons-fileupload\1.3.3\commons-fileupload-1.3.3.jar;D:\Maven\repo\commons-io\commons-io\2.6\commons-io-2.6.jar;D:\Maven\repo\org\springframework\spring-web\5.3.21\spring-web-5.3.21.jar;D:\Maven\repo\org\springframework\spring-beans\5.3.21\spring-beans-5.3.21.jar;D:\Maven\repo\org\springframework\spring-core\5.3.21\spring-core-5.3.21.jar;D:\Maven\repo\org\springframework\spring-jcl\5.3.21\spring-jcl-5.3.21.jar;D:\Maven\repo\org\springframework\cloud\spring-cloud-commons\3.1.3\spring-cloud-commons-3.1.3.jar;D:\Maven\repo\org\springframework\security\spring-security-crypto\5.7.2\spring-security-crypto-5.7.2.jar;D:\Maven\repo\io\github\openfeign\feign-core\11.8\feign-core-11.8.jar;D:\Maven\repo\io\github\openfeign\feign-slf4j\11.8\feign-slf4j-11.8.jar;D:\Maven\repo\org\slf4j\slf4j-api\1.7.36\slf4j-api-1.7.36.jar;D:\Maven\repo\io\github\openfeign\feign-okhttp\11.8\feign-okhttp-11.8.jar;D:\Maven\repo\com\squareup\okhttp3\okhttp\4.9.3\okhttp-4.9.3.jar;D:\Maven\repo\com\squareup\okio\okio\2.8.0\okio-2.8.0.jar;D:\Maven\repo\org\jetbrains\kotlin\kotlin-stdlib-common\1.6.21\kotlin-stdlib-common-1.6.21.jar;D:\Maven\repo\org\jetbrains\kotlin\kotlin-stdlib\1.6.21\kotlin-stdlib-1.6.21.jar;D:\Maven\repo\org\jetbrains\annotations\13.0\annotations-13.0.jar;D:\Maven\repo\org\springframework\cloud\spring-cloud-starter-loadbalancer\3.1.3\spring-cloud-starter-loadbalancer-3.1.3.jar;D:\Maven\repo\org\springframework\cloud\spring-cloud-loadbalancer\3.1.3\spring-cloud-loadbalancer-3.1.3.jar;D:\Maven\repo\io\projectreactor\reactor-core\3.4.19\reactor-core-3.4.19.jar;D:\Maven\repo\org\reactivestreams\reactive-streams\1.0.4\reactive-streams-1.0.4.jar;D:\Maven\repo\io\projectreactor\addons\reactor-extra\3.4.8\reactor-extra-3.4.8.jar;D:\Maven\repo\org\springframework\boot\spring-boot-starter-cache\2.7.1\spring-boot-starter-cache-2.7.1.jar;D:\Maven\repo\org\springframework\spring-context-support\5.3.21\spring-context-support-5.3.21.jar;D:\Maven\repo\org\springframework\spring-context\5.3.21\spring-context-5.3.21.jar;D:\Maven\repo\com\stoyanr\evictor\1.0.0\evictor-1.0.0.jar;D:\Maven\repo\org\springframework\cloud\spring-cloud-starter-bootstrap\3.1.3\spring-cloud-starter-bootstrap-3.1.3.jar;D:\Maven\repo\de\codecentric\spring-boot-admin-starter-client\2.7.1\spring-boot-admin-starter-client-2.7.1.jar;D:\Maven\repo\de\codecentric\spring-boot-admin-client\2.7.1\spring-boot-admin-client-2.7.1.jar;D:\Maven\repo\com\alibaba\cloud\spring-cloud-starter-alibaba-nacos-discovery\2.2.6.RELEASE\spring-cloud-starter-alibaba-nacos-discovery-2.2.6.RELEASE.jar;D:\Maven\repo\com\alibaba\cloud\spring-cloud-alibaba-commons\2.2.6.RELEASE\spring-cloud-alibaba-commons-2.2.6.RELEASE.jar;D:\Maven\repo\com\alibaba\spring\spring-context-support\1.0.10\spring-context-support-1.0.10.jar;D:\Maven\repo\org\springframework\cloud\spring-cloud-context\3.1.3\spring-cloud-context-3.1.3.jar;D:\Maven\repo\org\springframework\cloud\spring-cloud-starter-netflix-ribbon\2.2.6.RELEASE\spring-cloud-starter-netflix-ribbon-2.2.6.RELEASE.jar;D:\Maven\repo\org\springframework\cloud\spring-cloud-netflix-ribbon\2.2.6.RELEASE\spring-cloud-netflix-ribbon-2.2.6.RELEASE.jar;D:\Maven\repo\org\springframework\cloud\spring-cloud-netflix-archaius\2.2.6.RELEASE\spring-cloud-netflix-archaius-2.2.6.RELEASE.jar;D:\Maven\repo\org\springframework\cloud\spring-cloud-starter-netflix-archaius\2.2.6.RELEASE\spring-cloud-starter-netflix-archaius-2.2.6.RELEASE.jar;D:\Maven\repo\com\netflix\archaius\archaius-core\0.7.6\archaius-core-0.7.6.jar;D:\Maven\repo\com\google\code\findbugs\jsr305\3.0.2\jsr305-3.0.2.jar;D:\Maven\repo\commons-configuration\commons-configuration\1.8\commons-configuration-1.8.jar;D:\Maven\repo\com\netflix\ribbon\ribbon\2.3.0\ribbon-2.3.0.jar;D:\Maven\repo\com\netflix\ribbon\ribbon-transport\2.3.0\ribbon-transport-2.3.0.jar;D:\Maven\repo\io\reactivex\rxnetty-contexts\0.4.9\rxnetty-contexts-0.4.9.jar;D:\Maven\repo\io\reactivex\rxnetty-servo\0.4.9\rxnetty-servo-0.4.9.jar;D:\Maven\repo\com\netflix\hystrix\hystrix-core\1.4.3\hystrix-core-1.4.3.jar;D:\Maven\repo\javax\inject\javax.inject\1\javax.inject-1.jar;D:\Maven\repo\io\reactivex\rxnetty\0.4.9\rxnetty-0.4.9.jar;D:\Maven\repo\com\netflix\ribbon\ribbon-core\2.3.0\ribbon-core-2.3.0.jar;D:\Maven\repo\commons-lang\commons-lang\2.6\commons-lang-2.6.jar;D:\Maven\repo\com\netflix\ribbon\ribbon-httpclient\2.3.0\ribbon-httpclient-2.3.0.jar;D:\Maven\repo\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;D:\Maven\repo\com\sun\jersey\jersey-client\1.19.1\jersey-client-1.19.1.jar;D:\Maven\repo\com\sun\jersey\jersey-core\1.19.1\jersey-core-1.19.1.jar;D:\Maven\repo\javax\ws\rs\jsr311-api\1.1.1\jsr311-api-1.1.1.jar;D:\Maven\repo\com\sun\jersey\contribs\jersey-apache-client4\1.19.1\jersey-apache-client4-1.19.1.jar;D:\Maven\repo\com\netflix\servo\servo-core\0.10.1\servo-core-0.10.1.jar;D:\Maven\repo\com\netflix\servo\servo-internal\0.10.1\servo-internal-0.10.1.jar;D:\Maven\repo\com\netflix\netflix-commons\netflix-commons-util\0.1.1\netflix-commons-util-0.1.1.jar;D:\Maven\repo\com\netflix\ribbon\ribbon-loadbalancer\2.3.0\ribbon-loadbalancer-2.3.0.jar;D:\Maven\repo\com\netflix\netflix-commons\netflix-statistics\0.1.1\netflix-statistics-0.1.1.jar;D:\Maven\repo\io\reactivex\rxjava\1.3.8\rxjava-1.3.8.jar;D:\Maven\repo\com\alibaba\cloud\spring-cloud-starter-alibaba-nacos-config\2.2.6.RELEASE\spring-cloud-starter-alibaba-nacos-config-2.2.6.RELEASE.jar;D:\Maven\repo\com\alibaba\nacos\nacos-client\2.1.0\nacos-client-2.1.0.jar;D:\Maven\repo\com\alibaba\nacos\nacos-auth-plugin\2.1.0\nacos-auth-plugin-2.1.0.jar;D:\Maven\repo\com\alibaba\nacos\nacos-encryption-plugin\2.1.0\nacos-encryption-plugin-2.1.0.jar;D:\Maven\repo\commons-codec\commons-codec\1.15\commons-codec-1.15.jar;D:\Maven\repo\com\fasterxml\jackson\core\jackson-core\2.13.3\jackson-core-2.13.3.jar;D:\Maven\repo\com\fasterxml\jackson\core\jackson-databind\2.13.3\jackson-databind-2.13.3.jar;D:\Maven\repo\com\fasterxml\jackson\core\jackson-annotations\2.13.3\jackson-annotations-2.13.3.jar;D:\Maven\repo\org\apache\httpcomponents\httpasyncclient\4.1.5\httpasyncclient-4.1.5.jar;D:\Maven\repo\org\apache\httpcomponents\httpcore\4.4.15\httpcore-4.4.15.jar;D:\Maven\repo\org\apache\httpcomponents\httpcore-nio\4.4.15\httpcore-nio-4.4.15.jar;D:\Maven\repo\io\prometheus\simpleclient\0.15.0\simpleclient-0.15.0.jar;D:\Maven\repo\io\prometheus\simpleclient_tracer_otel\0.15.0\simpleclient_tracer_otel-0.15.0.jar;D:\Maven\repo\io\prometheus\simpleclient_tracer_common\0.15.0\simpleclient_tracer_common-0.15.0.jar;D:\Maven\repo\io\prometheus\simpleclient_tracer_otel_agent\0.15.0\simpleclient_tracer_otel_agent-0.15.0.jar;D:\Maven\repo\org\yaml\snakeyaml\1.30\snakeyaml-1.30.jar;D:\Maven\repo\com\alibaba\cloud\spring-cloud-starter-alibaba-sentinel\2.2.6.RELEASE\spring-cloud-starter-alibaba-sentinel-2.2.6.RELEASE.jar;D:\Maven\repo\com\alibaba\csp\sentinel-transport-simple-http\1.8.1\sentinel-transport-simple-http-1.8.1.jar;D:\Maven\repo\com\alibaba\csp\sentinel-transport-common\1.8.1\sentinel-transport-common-1.8.1.jar;D:\Maven\repo\com\alibaba\csp\sentinel-datasource-extension\1.8.1\sentinel-datasource-extension-1.8.1.jar;D:\Maven\repo\com\alibaba\csp\sentinel-annotation-aspectj\1.8.1\sentinel-annotation-aspectj-1.8.1.jar;D:\Maven\repo\com\alibaba\csp\sentinel-core\1.8.1\sentinel-core-1.8.1.jar;D:\Maven\repo\org\aspectj\aspectjrt\1.9.7\aspectjrt-1.9.7.jar;D:\Maven\repo\com\alibaba\cloud\spring-cloud-circuitbreaker-sentinel\2.2.6.RELEASE\spring-cloud-circuitbreaker-sentinel-2.2.6.RELEASE.jar;D:\Maven\repo\com\alibaba\csp\sentinel-reactor-adapter\1.8.1\sentinel-reactor-adapter-1.8.1.jar;D:\Maven\repo\com\alibaba\csp\sentinel-spring-webflux-adapter\1.8.1\sentinel-spring-webflux-adapter-1.8.1.jar;D:\Maven\repo\com\alibaba\csp\sentinel-spring-webmvc-adapter\1.8.1\sentinel-spring-webmvc-adapter-1.8.1.jar;D:\Maven\repo\com\alibaba\csp\sentinel-parameter-flow-control\1.8.1\sentinel-parameter-flow-control-1.8.1.jar;D:\Maven\repo\com\googlecode\concurrentlinkedhashmap\concurrentlinkedhashmap-lru\1.4.2\concurrentlinkedhashmap-lru-1.4.2.jar;D:\Maven\repo\com\alibaba\csp\sentinel-cluster-server-default\1.8.1\sentinel-cluster-server-default-1.8.1.jar;D:\Maven\repo\com\alibaba\csp\sentinel-cluster-common-default\1.8.1\sentinel-cluster-common-default-1.8.1.jar;D:\Maven\repo\io\netty\netty-handler\4.1.78.Final\netty-handler-4.1.78.Final.jar;D:\Maven\repo\io\netty\netty-common\4.1.78.Final\netty-common-4.1.78.Final.jar;D:\Maven\repo\io\netty\netty-resolver\4.1.78.Final\netty-resolver-4.1.78.Final.jar;D:\Maven\repo\io\netty\netty-buffer\4.1.78.Final\netty-buffer-4.1.78.Final.jar;D:\Maven\repo\io\netty\netty-transport\4.1.78.Final\netty-transport-4.1.78.Final.jar;D:\Maven\repo\io\netty\netty-transport-native-unix-common\4.1.78.Final\netty-transport-native-unix-common-4.1.78.Final.jar;D:\Maven\repo\io\netty\netty-codec\4.1.78.Final\netty-codec-4.1.78.Final.jar;D:\Maven\repo\com\alibaba\csp\sentinel-cluster-client-default\1.8.1\sentinel-cluster-client-default-1.8.1.jar;D:\Maven\repo\com\alibaba\cloud\spring-cloud-alibaba-sentinel-datasource\2.2.6.RELEASE\spring-cloud-alibaba-sentinel-datasource-2.2.6.RELEASE.jar;D:\Maven\repo\com\alibaba\fastjson\1.2.83_noneautotype\fastjson-1.2.83_noneautotype.jar;D:\Maven\repo\org\springblade\blade-core-log\3.4.1\blade-core-log-3.4.1.jar;D:\Maven\repo\org\springblade\blade-core-cloud\3.4.1\blade-core-cloud-3.4.1.jar;D:\Maven\repo\com\baomidou\mybatis-plus\3.5.2\mybatis-plus-3.5.2.jar;D:\Maven\repo\com\baomidou\mybatis-plus-extension\3.5.2\mybatis-plus-extension-3.5.2.jar;D:\Maven\repo\com\baomidou\mybatis-plus-core\3.5.2\mybatis-plus-core-3.5.2.jar;D:\Maven\repo\com\baomidou\mybatis-plus-annotation\3.5.2\mybatis-plus-annotation-3.5.2.jar;D:\Maven\repo\com\github\jsqlparser\jsqlparser\4.4\jsqlparser-4.4.jar;D:\Maven\repo\org\mybatis\mybatis\3.5.10\mybatis-3.5.10.jar;D:\Maven\repo\org\mybatis\mybatis-spring\2.0.7\mybatis-spring-2.0.7.jar;D:\Maven\repo\org\jetbrains\kotlin\kotlin-stdlib-jdk8\1.6.21\kotlin-stdlib-jdk8-1.6.21.jar;D:\Maven\repo\org\jetbrains\kotlin\kotlin-stdlib-jdk7\1.6.21\kotlin-stdlib-jdk7-1.6.21.jar;D:\Maven\repo\org\springblade\blade-core-social\3.4.1\blade-core-social-3.4.1.jar;D:\Maven\repo\me\zhyd\oauth\JustAuth\1.15.8\JustAuth-1.15.8.jar;D:\Maven\repo\com\xkcoding\http\simple-http\1.0.3\simple-http-1.0.3.jar;D:\Maven\repo\org\apache\httpcomponents\httpclient\4.5.13\httpclient-4.5.13.jar;C:\Users\haydn\Desktop\微服务脚手架\SpringBlade\blade-service-api\blade-user-api\target\classes;D:\Maven\repo\org\springblade\blade-core-mybatis\3.4.1\blade-core-mybatis-3.4.1.jar;D:\Maven\repo\io\springfox\springfox-swagger2\2.10.5\springfox-swagger2-2.10.5.jar;D:\Maven\repo\io\swagger\swagger-annotations\1.5.20\swagger-annotations-1.5.20.jar;D:\Maven\repo\io\springfox\springfox-spi\2.10.5\springfox-spi-2.10.5.jar;D:\Maven\repo\io\springfox\springfox-core\2.10.5\springfox-core-2.10.5.jar;D:\Maven\repo\net\bytebuddy\byte-buddy\1.12.11\byte-buddy-1.12.11.jar;D:\Maven\repo\io\springfox\springfox-schema\2.10.5\springfox-schema-2.10.5.jar;D:\Maven\repo\io\springfox\springfox-swagger-common\2.10.5\springfox-swagger-common-2.10.5.jar;D:\Maven\repo\io\springfox\springfox-spring-web\2.10.5\springfox-spring-web-2.10.5.jar;D:\Maven\repo\io\github\classgraph\classgraph\4.1.7\classgraph-4.1.7.jar;D:\Maven\repo\org\springframework\plugin\spring-plugin-core\2.0.0.RELEASE\spring-plugin-core-2.0.0.RELEASE.jar;D:\Maven\repo\org\springframework\plugin\spring-plugin-metadata\2.0.0.RELEASE\spring-plugin-metadata-2.0.0.RELEASE.jar;D:\Maven\repo\org\mapstruct\mapstruct\1.3.1.Final\mapstruct-1.3.1.Final.jar;D:\Maven\repo\io\swagger\swagger-models\1.6.2\swagger-models-1.6.2.jar;D:\Maven\repo\org\springblade\blade-core-swagger\3.4.1\blade-core-swagger-3.4.1.jar;D:\Maven\repo\com\github\xiaoymin\knife4j-micro-spring-boot-starter\2.0.9\knife4j-micro-spring-boot-starter-2.0.9.jar;D:\Maven\repo\com\github\xiaoymin\knife4j-spring-boot-autoconfigure\2.0.9\knife4j-spring-boot-autoconfigure-2.0.9.jar;D:\Maven\repo\com\github\xiaoymin\knife4j-spring\2.0.9\knife4j-spring-2.0.9.jar;D:\Maven\repo\com\github\xiaoymin\knife4j-annotations\2.0.9\knife4j-annotations-2.0.9.jar;D:\Maven\repo\com\github\xiaoymin\knife4j-core\2.0.9\knife4j-core-2.0.9.jar;D:\Maven\repo\org\javassist\javassist\3.25.0-GA\javassist-3.25.0-GA.jar;D:\Maven\repo\io\springfox\springfox-bean-validators\2.10.5\springfox-bean-validators-2.10.5.jar;D:\Maven\repo\io\springfox\springfox-spring-webmvc\2.10.5\springfox-spring-webmvc-2.10.5.jar;D:\Maven\repo\com\google\guava\guava\20.0\guava-20.0.jar;D:\Maven\repo\com\github\whvcse\easy-captcha\1.6.2\easy-captcha-1.6.2.jar;D:\Maven\repo\mysql\mysql-connector-java\8.0.29\mysql-connector-java-8.0.29.jar;D:\Maven\repo\org\projectlombok\lombok\1.18.24\lombok-1.18.24.jar" org.springblade.auth.AuthApplication

----启动中,读取到的环境变量:[dev],jar地址:[/C:/Program%20Files/Java/jdk1.8.0_152/jre/classes/]----

2022-09-25 21:34:49.950  INFO 18296 --- [           main] c.a.n.p.a.s.c.ClientAuthPluginManager    : [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.impl.NacosClientAuthServiceImpl success.

2022-09-25 21:34:49.950  INFO 18296 --- [           main] c.a.n.p.a.s.c.ClientAuthPluginManager    : [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.ram.RamClientAuthServiceImpl success.

 _____               _                 ______  _             _

/  ___|             (_)                | ___ \| |           | |

\ `--.  _ __   _ __  _  _ __    __ _   | |_/ /| |  __ _   __| |  ___

 `--. \| '_ \ | '__|| || '_ \  / _` |  | ___ \| | / _` | / _` | / _ \

/\__/ /| |_) || |   | || | | || (_| |  | |_/ /| || (_| || (_| ||  __/

\____/ | .__/ |_|   |_||_| |_| \__, |  \____/ |_| \__,_| \__,_| \___|

       | |                      __/ |

       |_|                     |___/


:: SpringBlade :: blade-auth:dev :: Running SpringBoot 2.7.1 :: 


2022-09-25 21:34:59.210  WARN 18296 --- [           main] c.a.c.n.c.NacosPropertySourceBuilder     : Ignore the empty nacos configuration and get it based on dataId[blade] & group[DEFAULT_GROUP]

2022-09-25 21:34:59.874  INFO 18296 --- [           main] b.c.PropertySourceBootstrapConfiguration : Located property source: [BootstrapPropertySource {name='bootstrapProperties-blade-dev.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-blade.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-blade,DEFAULT_GROUP'}]

2022-09-25 21:34:59.894  INFO 18296 --- [           main] org.springblade.auth.AuthApplication     : The following 1 profile is active: "dev"

2022-09-25 21:35:01.700  INFO 18296 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode

2022-09-25 21:35:01.703  INFO 18296 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode.

2022-09-25 21:35:01.732  INFO 18296 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 9 ms. Found 0 Redis repository interfaces.

2022-09-25 21:35:02.033  WARN 18296 --- [           main] o.m.s.mapper.ClassPathMapperScanner      : No MyBatis mapper was found in '[org.springblade.**.mapper.**]' package. Please check your configuration.

2022-09-25 21:35:02.136  INFO 18296 --- [           main] o.s.cloud.context.scope.GenericScope     : BeanFactory id=975853e5-83bf-36a5-a030-044130f4188a

2022-09-25 21:35:02.564  INFO 18296 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration' of type [org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

2022-09-25 21:35:02.570  INFO 18296 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

2022-09-25 21:35:02.572  INFO 18296 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'loadBalancerClientsDefaultsMappingsProvider' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration$$Lambda$505/1892928959] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

2022-09-25 21:35:02.580  INFO 18296 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'defaultsBindHandlerAdvisor' of type [org.springframework.cloud.commons.config.DefaultsBindHandlerAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

2022-09-25 21:35:02.670  INFO 18296 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.cloud.sentinel-com.alibaba.cloud.sentinel.SentinelProperties' of type [com.alibaba.cloud.sentinel.SentinelProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

INFO: Sentinel log output type is: file

INFO: Sentinel log charset is: utf-8

INFO: Sentinel log base directory is: C:\Users\haydn\logs\csp\

INFO: Sentinel log name use pid is: false

2022-09-25 21:35:02.820  INFO 18296 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration' of type [com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

2022-09-25 21:35:03.126  WARN 18296 --- [           main] io.undertow.websockets.jsr               : UT026010: Buffer pool was not set on WebSocketDeploymentInfo, the default pool will be used

2022-09-25 21:35:03.158  INFO 18296 --- [           main] io.undertow.servlet                      : Initializing Spring embedded WebApplicationContext

2022-09-25 21:35:03.158  INFO 18296 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 3236 ms

2022-09-25 21:35:04.261  INFO 18296 --- [           main] o.s.c.openfeign.FeignClientFactoryBean   : For 'blade-user' URL not provided. Will try picking an instance via load-balancing.

2022-09-25 21:35:05.407  INFO 18296 --- [           main] c.a.c.s.SentinelWebAutoConfiguration     : [Sentinel Starter] register SentinelWebInterceptor with urlPatterns: [/**].

2022-09-25 21:35:05.450  INFO 18296 --- [           main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{ [/error]}" onto org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#error(HttpServletRequest)

2022-09-25 21:35:05.450  INFO 18296 --- [           main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{ [/oauth/refresh/{source}]}" onto org.springblade.auth.controller.SocialController#refreshAuth(String, String)

2022-09-25 21:35:05.450  INFO 18296 --- [           main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{ [/swagger-resources/configuration/ui]}" onto springfox.documentation.swagger.web.ApiResourceController#uiConfiguration()

2022-09-25 21:35:05.450  INFO 18296 --- [           main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{ [/oauth/render/{source}]}" onto org.springblade.auth.controller.SocialController#renderAuth(String, HttpServletResponse)

2022-09-25 21:35:05.450  INFO 18296 --- [           main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{ [/error], produces [text/html]}" onto org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#errorHtml(HttpServletRequest, HttpServletResponse)

2022-09-25 21:35:05.450  INFO 18296 --- [           main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{ [/swagger-resources/configuration/security]}" onto springfox.documentation.swagger.web.ApiResourceController#securityConfiguration()

2022-09-25 21:35:05.450  INFO 18296 --- [           main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{ [/swagger-resources]}" onto springfox.documentation.swagger.web.ApiResourceController#swaggerResources()

2022-09-25 21:35:05.450  INFO 18296 --- [           main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{GET [/captcha]}" onto org.springblade.auth.controller.AuthController#captcha()

2022-09-25 21:35:05.450  INFO 18296 --- [           main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{ [/oauth/revoke/{source}/{token}]}" onto org.springblade.auth.controller.SocialController#revokeAuth(String, String)

2022-09-25 21:35:05.450  INFO 18296 --- [           main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{ [/oauth/callback/{source}]}" onto org.springblade.auth.controller.SocialController#login(String, AuthCallback)

2022-09-25 21:35:05.451  INFO 18296 --- [           main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{POST [/token]}" onto org.springblade.auth.controller.AuthController#token(String, String, String, String, String)

2022-09-25 21:35:06.205  INFO 18296 --- [           main] c.a.n.p.a.s.c.ClientAuthPluginManager    : [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.impl.NacosClientAuthServiceImpl success.

2022-09-25 21:35:06.205  INFO 18296 --- [           main] c.a.n.p.a.s.c.ClientAuthPluginManager    : [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.ram.RamClientAuthServiceImpl success.

2022-09-25 21:35:12.476  INFO 18296 --- [           main] o.s.b.a.e.web.EndpointLinksResolver      : Exposing 20 endpoint(s) beneath base path '/actuator'

2022-09-25 21:35:12.590  WARN 18296 --- [           main] c.n.c.sources.URLConfigurationSource     : No URLs will be polled as dynamic configuration sources.

2022-09-25 21:35:12.591  INFO 18296 --- [           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.

2022-09-25 21:35:12.596  WARN 18296 --- [           main] c.n.c.sources.URLConfigurationSource     : No URLs will be polled as dynamic configuration sources.

2022-09-25 21:35:12.597  INFO 18296 --- [           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.

2022-09-25 21:35:13.037  INFO 18296 --- [           main] f.a.AutowiredAnnotationBeanPostProcessor : Inconsistent constructor declaration on bean with name 'org.springblade.core.launch.server.ServerInfo': single autowire-marked constructor flagged as optional - this constructor is effectively required since there is no default constructor to fall back to: public org.springblade.core.launch.server.ServerInfo(org.springframework.boot.autoconfigure.web.ServerProperties)

2022-09-25 21:35:13.064  INFO 18296 --- [           main] o.s.c.openfeign.FeignClientFactoryBean   : For 'blade-log' URL not provided. Will try picking an instance via load-balancing.

2022-09-25 21:35:13.079  INFO 18296 --- [           main] o.s.core.log.logger.BladeLogger          : blade-auth: BladeLogger init success!

2022-09-25 21:35:13.264  INFO 18296 --- [           main] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)]

2022-09-25 21:35:14.284  WARN 18296 --- [           main] iguration$LoadBalancerCaffeineWarnLogger : Spring Cloud LoadBalancer is currently working with the default cache. While this cache implementation is useful for development and tests, it's recommended to use Caffeine cache in production.You can switch to using Caffeine cache, by adding it and org.springframework.cache.caffeine.CaffeineCacheManager to the classpath.

2022-09-25 21:35:15.011 ERROR 18296 --- [           main] c.a.cloud.nacos.discovery.NacosWatch     : namingService subscribe failed, properties:NacosDiscoveryProperties{serverAddr='127.0.0.1:8848', endpoint='', namespace='', watchDelay=30000, logName='', service='blade-auth', weight=1.0, clusterName='DEFAULT', group='DEFAULT_GROUP', namingLoadCacheAtStart='false', metadata={preserved.register.source=SPRING_CLOUD}, registerEnabled=true, ip='192.168.3.178', networkInterface='', port=-1, secure=false, accessKey='', secretKey='', heartBeatInterval=null, heartBeatTimeout=null, ipDeleteTimeout=null, failFast=true}


com.alibaba.nacos.api.exception.NacosException: Request nacos server failed: 

at com.alibaba.nacos.client.naming.remote.gprc.NamingGrpcClientProxy.requestToServer(NamingGrpcClientProxy.java:288) ~[nacos-client-2.1.0.jar:na]

at com.alibaba.nacos.client.naming.remote.gprc.NamingGrpcClientProxy.doSubscribe(NamingGrpcClientProxy.java:229) ~[nacos-client-2.1.0.jar:na]

at com.alibaba.nacos.client.naming.remote.gprc.NamingGrpcClientProxy.subscribe(NamingGrpcClientProxy.java:214) ~[nacos-client-2.1.0.jar:na]

at com.alibaba.nacos.client.naming.remote.NamingClientProxyDelegate.subscribe(NamingClientProxyDelegate.java:147) ~[nacos-client-2.1.0.jar:na]

at com.alibaba.nacos.client.naming.NacosNamingService.subscribe(NacosNamingService.java:393) ~[nacos-client-2.1.0.jar:na]

at com.alibaba.cloud.nacos.discovery.NacosWatch.start(NacosWatch.java:131) ~[spring-cloud-starter-alibaba-nacos-discovery-2.2.6.RELEASE.jar:2.2.6.RELEASE]

at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:178) [spring-context-5.3.21.jar:5.3.21]

at org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:54) [spring-context-5.3.21.jar:5.3.21]

at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:356) [spring-context-5.3.21.jar:5.3.21]

at java.lang.Iterable.forEach(Iterable.java:75) ~[na:1.8.0_152]

at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:155) [spring-context-5.3.21.jar:5.3.21]

at org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:123) [spring-context-5.3.21.jar:5.3.21]

at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:935) ~[spring-context-5.3.21.jar:5.3.21]

at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:586) ~[spring-context-5.3.21.jar:5.3.21]

at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:147) ~[spring-boot-2.7.1.jar:2.7.1]

at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:734) ~[spring-boot-2.7.1.jar:2.7.1]

at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408) ~[spring-boot-2.7.1.jar:2.7.1]

at org.springframework.boot.SpringApplication.run(SpringApplication.java:308) ~[spring-boot-2.7.1.jar:2.7.1]

at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:164) ~[spring-boot-2.7.1.jar:2.7.1]

at org.springblade.core.launch.BladeApplication.run(BladeApplication.java:49) ~[blade-core-launch-3.4.1.jar:na]

at org.springblade.auth.AuthApplication.main(AuthApplication.java:37) ~[classes/:na]

Caused by: com.alibaba.nacos.api.exception.NacosException: Client not connected, current status:STARTING

at com.alibaba.nacos.common.remote.client.RpcClient.request(RpcClient.java:651) ~[nacos-client-2.1.0.jar:na]

at com.alibaba.nacos.common.remote.client.RpcClient.request(RpcClient.java:631) ~[nacos-client-2.1.0.jar:na]

at com.alibaba.nacos.client.naming.remote.gprc.NamingGrpcClientProxy.requestToServer(NamingGrpcClientProxy.java:278) ~[nacos-client-2.1.0.jar:na]

... 20 common frames omitted


2022-09-25 21:35:15.036  INFO 18296 --- [           main] io.undertow                              : starting server: Undertow - 2.2.18.Final

2022-09-25 21:35:15.052  INFO 18296 --- [           main] org.xnio                                 : XNIO version 3.8.7.Final

2022-09-25 21:35:15.064  INFO 18296 --- [           main] org.xnio.nio                             : XNIO NIO Implementation Version 3.8.7.Final

2022-09-25 21:35:15.101  INFO 18296 --- [           main] org.jboss.threads                        : JBoss Threads version 3.1.0.Final

2022-09-25 21:35:15.159  INFO 18296 --- [           main] o.s.b.w.e.undertow.UndertowWebServer     : Undertow started on port(s) 8100 (http)

2022-09-25 21:35:15.470 ERROR 18296 --- [           main] c.a.c.n.registry.NacosServiceRegistry    : nacos registry, blade-auth register failed...NacosRegistration{nacosDiscoveryProperties=NacosDiscoveryProperties{serverAddr='127.0.0.1:8848', endpoint='', namespace='', watchDelay=30000, logName='', service='blade-auth', weight=1.0, clusterName='DEFAULT', group='DEFAULT_GROUP', namingLoadCacheAtStart='false', metadata={preserved.register.source=SPRING_CLOUD}, registerEnabled=true, ip='192.168.3.178', networkInterface='', port=8100, secure=false, accessKey='', secretKey='', heartBeatInterval=null, heartBeatTimeout=null, ipDeleteTimeout=null, failFast=true}},


com.alibaba.nacos.api.exception.NacosException: Request nacos server failed: 

at com.alibaba.nacos.client.naming.remote.gprc.NamingGrpcClientProxy.requestToServer(NamingGrpcClientProxy.java:288) ~[nacos-client-2.1.0.jar:na]

at com.alibaba.nacos.client.naming.remote.gprc.NamingGrpcClientProxy.doRegisterService(NamingGrpcClientProxy.java:128) ~[nacos-client-2.1.0.jar:na]

at com.alibaba.nacos.client.naming.remote.gprc.NamingGrpcClientProxy.registerService(NamingGrpcClientProxy.java:114) ~[nacos-client-2.1.0.jar:na]

at com.alibaba.nacos.client.naming.remote.NamingClientProxyDelegate.registerService(NamingClientProxyDelegate.java:94) ~[nacos-client-2.1.0.jar:na]

at com.alibaba.nacos.client.naming.NacosNamingService.registerInstance(NacosNamingService.java:145) ~[nacos-client-2.1.0.jar:na]

at com.alibaba.cloud.nacos.registry.NacosServiceRegistry.register(NacosServiceRegistry.java:74) ~[spring-cloud-starter-alibaba-nacos-discovery-2.2.6.RELEASE.jar:2.2.6.RELEASE]

at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.register(AbstractAutoServiceRegistration.java:232) [spring-cloud-commons-3.1.3.jar:3.1.3]

at com.alibaba.cloud.nacos.registry.NacosAutoServiceRegistration.register(NacosAutoServiceRegistration.java:78) [spring-cloud-starter-alibaba-nacos-discovery-2.2.6.RELEASE.jar:2.2.6.RELEASE]

at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.start(AbstractAutoServiceRegistration.java:133) [spring-cloud-commons-3.1.3.jar:3.1.3]

at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.bind(AbstractAutoServiceRegistration.java:98) [spring-cloud-commons-3.1.3.jar:3.1.3]

at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.onApplicationEvent(AbstractAutoServiceRegistration.java:86) [spring-cloud-commons-3.1.3.jar:3.1.3]

at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.onApplicationEvent(AbstractAutoServiceRegistration.java:47) [spring-cloud-commons-3.1.3.jar:3.1.3]

at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:176) [spring-context-5.3.21.jar:5.3.21]

at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:169) [spring-context-5.3.21.jar:5.3.21]

at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:143) [spring-context-5.3.21.jar:5.3.21]

at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:421) [spring-context-5.3.21.jar:5.3.21]

at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:378) [spring-context-5.3.21.jar:5.3.21]

at org.springframework.boot.web.servlet.context.WebServerStartStopLifecycle.start(WebServerStartStopLifecycle.java:46) [spring-boot-2.7.1.jar:2.7.1]

at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:178) [spring-context-5.3.21.jar:5.3.21]

at org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:54) [spring-context-5.3.21.jar:5.3.21]

at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:356) [spring-context-5.3.21.jar:5.3.21]

at java.lang.Iterable.forEach(Iterable.java:75) ~[na:1.8.0_152]

at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:155) [spring-context-5.3.21.jar:5.3.21]

at org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:123) [spring-context-5.3.21.jar:5.3.21]

at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:935) [spring-context-5.3.21.jar:5.3.21]

at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:586) [spring-context-5.3.21.jar:5.3.21]

at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:147) ~[spring-boot-2.7.1.jar:2.7.1]

at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:734) ~[spring-boot-2.7.1.jar:2.7.1]

at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408) ~[spring-boot-2.7.1.jar:2.7.1]

at org.springframework.boot.SpringApplication.run(SpringApplication.java:308) ~[spring-boot-2.7.1.jar:2.7.1]

at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:164) ~[spring-boot-2.7.1.jar:2.7.1]

at org.springblade.core.launch.BladeApplication.run(BladeApplication.java:49) ~[blade-core-launch-3.4.1.jar:na]

at org.springblade.auth.AuthApplication.main(AuthApplication.java:37) ~[classes/:na]

Caused by: com.alibaba.nacos.api.exception.NacosException: Client not connected, current status:STARTING

at com.alibaba.nacos.common.remote.client.RpcClient.request(RpcClient.java:651) ~[nacos-client-2.1.0.jar:na]

at com.alibaba.nacos.common.remote.client.RpcClient.request(RpcClient.java:631) ~[nacos-client-2.1.0.jar:na]

at com.alibaba.nacos.client.naming.remote.gprc.NamingGrpcClientProxy.requestToServer(NamingGrpcClientProxy.java:278) ~[nacos-client-2.1.0.jar:na]

... 32 common frames omitted


2022-09-25 21:35:15.471  WARN 18296 --- [           main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Failed to start bean 'webServerStartStop'; nested exception is java.lang.reflect.UndeclaredThrowableException

2022-09-25 21:35:16.040  INFO 18296 --- [           main] io.undertow                              : stopping server: Undertow - 2.2.18.Final

2022-09-25 21:35:16.067  INFO 18296 --- [           main] ConditionEvaluationReportLoggingListener : 


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

2022-09-25 21:35:16.098 ERROR 18296 --- [           main] o.s.boot.SpringApplication               : Application run failed


org.springframework.context.ApplicationContextException: Failed to start bean 'webServerStartStop'; nested exception is java.lang.reflect.UndeclaredThrowableException

at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:181) ~[spring-context-5.3.21.jar:5.3.21]

at org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:54) ~[spring-context-5.3.21.jar:5.3.21]

at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:356) ~[spring-context-5.3.21.jar:5.3.21]

at java.lang.Iterable.forEach(Iterable.java:75) ~[na:1.8.0_152]

at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:155) ~[spring-context-5.3.21.jar:5.3.21]

at org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:123) ~[spring-context-5.3.21.jar:5.3.21]

at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:935) ~[spring-context-5.3.21.jar:5.3.21]

at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:586) ~[spring-context-5.3.21.jar:5.3.21]

at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:147) ~[spring-boot-2.7.1.jar:2.7.1]

at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:734) ~[spring-boot-2.7.1.jar:2.7.1]

at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408) ~[spring-boot-2.7.1.jar:2.7.1]

at org.springframework.boot.SpringApplication.run(SpringApplication.java:308) ~[spring-boot-2.7.1.jar:2.7.1]

at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:164) [spring-boot-2.7.1.jar:2.7.1]

at org.springblade.core.launch.BladeApplication.run(BladeApplication.java:49) [blade-core-launch-3.4.1.jar:na]

at org.springblade.auth.AuthApplication.main(AuthApplication.java:37) [classes/:na]

Caused by: java.lang.reflect.UndeclaredThrowableException: null

at org.springframework.util.ReflectionUtils.rethrowRuntimeException(ReflectionUtils.java:147) ~[spring-core-5.3.21.jar:5.3.21]

at com.alibaba.cloud.nacos.registry.NacosServiceRegistry.register(NacosServiceRegistry.java:82) ~[spring-cloud-starter-alibaba-nacos-discovery-2.2.6.RELEASE.jar:2.2.6.RELEASE]

at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.register(AbstractAutoServiceRegistration.java:232) ~[spring-cloud-commons-3.1.3.jar:3.1.3]

at com.alibaba.cloud.nacos.registry.NacosAutoServiceRegistration.register(NacosAutoServiceRegistration.java:78) ~[spring-cloud-starter-alibaba-nacos-discovery-2.2.6.RELEASE.jar:2.2.6.RELEASE]

at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.start(AbstractAutoServiceRegistration.java:133) ~[spring-cloud-commons-3.1.3.jar:3.1.3]

at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.bind(AbstractAutoServiceRegistration.java:98) ~[spring-cloud-commons-3.1.3.jar:3.1.3]

at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.onApplicationEvent(AbstractAutoServiceRegistration.java:86) ~[spring-cloud-commons-3.1.3.jar:3.1.3]

at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.onApplicationEvent(AbstractAutoServiceRegistration.java:47) ~[spring-cloud-commons-3.1.3.jar:3.1.3]

at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:176) ~[spring-context-5.3.21.jar:5.3.21]

at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:169) ~[spring-context-5.3.21.jar:5.3.21]

at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:143) ~[spring-context-5.3.21.jar:5.3.21]

at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:421) ~[spring-context-5.3.21.jar:5.3.21]

at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:378) ~[spring-context-5.3.21.jar:5.3.21]

at org.springframework.boot.web.servlet.context.WebServerStartStopLifecycle.start(WebServerStartStopLifecycle.java:46) ~[spring-boot-2.7.1.jar:2.7.1]

at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:178) ~[spring-context-5.3.21.jar:5.3.21]

... 14 common frames omitted

Caused by: com.alibaba.nacos.api.exception.NacosException: Request nacos server failed: 

at com.alibaba.nacos.client.naming.remote.gprc.NamingGrpcClientProxy.requestToServer(NamingGrpcClientProxy.ja

1条回答
  •  firingace
    firingace (楼主)
    2022-09-25 22:36

    解决了,版本的问题,涉及到

    alibaba.cloud.version

    的地方,全部手动指定版本 

    2.2.6.RELEASE

    就ok了。



    2 讨论(0)
提交回复