网关报错

Blade 未结 1 170
kepin
kepin 剑童 2022-07-18 23:52

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

1. 直接启动后就报错了,一直查找原因查找不到

2. 

3.


二、你期待的结果是什么?实际看到的又是什么?
希望可以正常启动网关服务,其他的服务都可以正常启动


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


四、请提供详细的错误堆栈信息,这很重要。
origin_img_v2_591b826f-1638-4875-bafb-6a626e46efcg.jpg

origin_img_v2_59aace33-f754-4542-a092-0bb081043fcg.jpg

五、若有更多详细信息,请在下面提供。

"C:\Program Files\Java\Amazon Corretto\jdk17.0.3_6\bin\java.exe" -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:53898,suspend=y,server=n -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:\Users\nhgbb\AppData\Local\JetBrains\IntelliJIdea2021.3\captureAgent\debugger-agent.jar -Dfile.encoding=UTF-8 -classpath "D:\work\project\songuoy\erp_sub\yilian-gateway\target\classes;D:\work\project\songuoy\erp_sub\yilian-constants\target\classes;D:\work\project\songuoy\erp_sub\yilian-common\target\classes;D:\work\program\maven_lib\org\apache\commons\commons-lang3\3.12.0\commons-lang3-3.12.0.jar;D:\work\program\maven_lib\com\alibaba\fastjson\1.2.78\fastjson-1.2.78.jar;D:\work\program\maven_lib\org\springblade\blade-core-launch\3.1.0\blade-core-launch-3.1.0.jar;D:\work\program\maven_lib\org\springframework\boot\spring-boot-starter-aop\2.5.2\spring-boot-starter-aop-2.5.2.jar;D:\work\program\maven_lib\org\springframework\boot\spring-boot-starter\2.5.2\spring-boot-starter-2.5.2.jar;D:\work\program\maven_lib\org\springframework\boot\spring-boot\2.5.2\spring-boot-2.5.2.jar;D:\work\program\maven_lib\org\springframework\boot\spring-boot-autoconfigure\2.5.2\spring-boot-autoconfigure-2.5.2.jar;D:\work\program\maven_lib\org\springframework\boot\spring-boot-starter-logging\2.5.2\spring-boot-starter-logging-2.5.2.jar;D:\work\program\maven_lib\ch\qos\logback\logback-classic\1.2.3\logback-classic-1.2.3.jar;D:\work\program\maven_lib\ch\qos\logback\logback-core\1.2.3\logback-core-1.2.3.jar;D:\work\program\maven_lib\org\apache\logging\log4j\log4j-to-slf4j\2.14.1\log4j-to-slf4j-2.14.1.jar;D:\work\program\maven_lib\org\apache\logging\log4j\log4j-api\2.14.1\log4j-api-2.14.1.jar;D:\work\program\maven_lib\org\slf4j\jul-to-slf4j\1.7.31\jul-to-slf4j-1.7.31.jar;D:\work\program\maven_lib\jakarta\annotation\jakarta.annotation-api\1.3.5\jakarta.annotation-api-1.3.5.jar;D:\work\program\maven_lib\org\springframework\spring-core\5.3.8\spring-core-5.3.8.jar;D:\work\program\maven_lib\org\springframework\spring-jcl\5.3.8\spring-jcl-5.3.8.jar;D:\work\program\maven_lib\org\springframework\spring-aop\5.3.8\spring-aop-5.3.8.jar;D:\work\program\maven_lib\org\springframework\spring-beans\5.3.8\spring-beans-5.3.8.jar;D:\work\program\maven_lib\org\aspectj\aspectjweaver\1.9.6\aspectjweaver-1.9.6.jar;D:\work\program\maven_lib\org\springframework\boot\spring-boot-starter-actuator\2.5.2\spring-boot-starter-actuator-2.5.2.jar;D:\work\program\maven_lib\org\springframework\boot\spring-boot-actuator-autoconfigure\2.5.2\spring-boot-actuator-autoconfigure-2.5.2.jar;D:\work\program\maven_lib\org\springframework\boot\spring-boot-actuator\2.5.2\spring-boot-actuator-2.5.2.jar;D:\work\program\maven_lib\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.12.3\jackson-datatype-jsr310-2.12.3.jar;D:\work\program\maven_lib\io\micrometer\micrometer-core\1.7.1\micrometer-core-1.7.1.jar;D:\work\program\maven_lib\org\hdrhistogram\HdrHistogram\2.1.12\HdrHistogram-2.1.12.jar;D:\work\program\maven_lib\org\latencyutils\LatencyUtils\2.0.3\LatencyUtils-2.0.3.jar;D:\work\program\maven_lib\org\springframework\retry\spring-retry\1.3.1\spring-retry-1.3.1.jar;D:\work\program\maven_lib\org\hibernate\validator\hibernate-validator\6.2.0.Final\hibernate-validator-6.2.0.Final.jar;D:\work\program\maven_lib\jakarta\validation\jakarta.validation-api\2.0.2\jakarta.validation-api-2.0.2.jar;D:\work\program\maven_lib\org\jboss\logging\jboss-logging\3.4.2.Final\jboss-logging-3.4.2.Final.jar;D:\work\program\maven_lib\com\fasterxml\classmate\1.5.1\classmate-1.5.1.jar;D:\work\program\maven_lib\org\springframework\cloud\spring-cloud-starter-gateway\3.0.3\spring-cloud-starter-gateway-3.0.3.jar;D:\work\program\maven_lib\org\springframework\cloud\spring-cloud-starter\3.0.3\spring-cloud-starter-3.0.3.jar;D:\work\program\maven_lib\org\springframework\security\spring-security-rsa\1.0.10.RELEASE\spring-security-rsa-1.0.10.RELEASE.jar;D:\work\program\maven_lib\org\bouncycastle\bcpkix-jdk15on\1.59\bcpkix-jdk15on-1.59.jar;D:\work\program\maven_lib\org\bouncycastle\bcprov-jdk15on\1.59\bcprov-jdk15on-1.59.jar;D:\work\program\maven_lib\org\springframework\cloud\spring-cloud-gateway-server\3.0.3\spring-cloud-gateway-server-3.0.3.jar;D:\work\program\maven_lib\org\springframework\boot\spring-boot-starter-validation\2.5.2\spring-boot-starter-validation-2.5.2.jar;D:\work\program\maven_lib\org\apache\tomcat\embed\tomcat-embed-el\9.0.48\tomcat-embed-el-9.0.48.jar;D:\work\program\maven_lib\io\projectreactor\addons\reactor-extra\3.4.3\reactor-extra-3.4.3.jar;D:\work\program\maven_lib\org\springframework\boot\spring-boot-starter-webflux\2.5.2\spring-boot-starter-webflux-2.5.2.jar;D:\work\program\maven_lib\org\springframework\boot\spring-boot-starter-json\2.5.2\spring-boot-starter-json-2.5.2.jar;D:\work\program\maven_lib\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.12.3\jackson-datatype-jdk8-2.12.3.jar;D:\work\program\maven_lib\com\fasterxml\jackson\module\jackson-module-parameter-names\2.12.3\jackson-module-parameter-names-2.12.3.jar;D:\work\program\maven_lib\org\springframework\boot\spring-boot-starter-reactor-netty\2.5.2\spring-boot-starter-reactor-netty-2.5.2.jar;D:\work\program\maven_lib\io\projectreactor\netty\reactor-netty-http\1.0.8\reactor-netty-http-1.0.8.jar;D:\work\program\maven_lib\io\netty\netty-codec-http\4.1.65.Final\netty-codec-http-4.1.65.Final.jar;D:\work\program\maven_lib\io\netty\netty-codec-http2\4.1.65.Final\netty-codec-http2-4.1.65.Final.jar;D:\work\program\maven_lib\io\netty\netty-resolver-dns\4.1.65.Final\netty-resolver-dns-4.1.65.Final.jar;D:\work\program\maven_lib\io\netty\netty-codec-dns\4.1.65.Final\netty-codec-dns-4.1.65.Final.jar;D:\work\program\maven_lib\io\netty\netty-resolver-dns-native-macos\4.1.65.Final\netty-resolver-dns-native-macos-4.1.65.Final-osx-x86_64.jar;D:\work\program\maven_lib\io\netty\netty-transport-native-unix-common\4.1.65.Final\netty-transport-native-unix-common-4.1.65.Final.jar;D:\work\program\maven_lib\io\netty\netty-transport-native-epoll\4.1.65.Final\netty-transport-native-epoll-4.1.65.Final-linux-x86_64.jar;D:\work\program\maven_lib\io\projectreactor\netty\reactor-netty-core\1.0.8\reactor-netty-core-1.0.8.jar;D:\work\program\maven_lib\io\netty\netty-handler-proxy\4.1.65.Final\netty-handler-proxy-4.1.65.Final.jar;D:\work\program\maven_lib\io\netty\netty-codec-socks\4.1.65.Final\netty-codec-socks-4.1.65.Final.jar;D:\work\program\maven_lib\org\springframework\spring-web\5.3.8\spring-web-5.3.8.jar;D:\work\program\maven_lib\org\springframework\spring-webflux\5.3.8\spring-webflux-5.3.8.jar;D:\work\program\maven_lib\org\springframework\boot\spring-boot-starter-data-redis-reactive\2.5.2\spring-boot-starter-data-redis-reactive-2.5.2.jar;D:\work\program\maven_lib\org\springframework\boot\spring-boot-starter-data-redis\2.5.2\spring-boot-starter-data-redis-2.5.2.jar;D:\work\program\maven_lib\org\springframework\data\spring-data-redis\2.5.2\spring-data-redis-2.5.2.jar;D:\work\program\maven_lib\org\springframework\data\spring-data-keyvalue\2.5.2\spring-data-keyvalue-2.5.2.jar;D:\work\program\maven_lib\org\springframework\data\spring-data-commons\2.5.2\spring-data-commons-2.5.2.jar;D:\work\program\maven_lib\org\springframework\spring-tx\5.3.8\spring-tx-5.3.8.jar;D:\work\program\maven_lib\org\springframework\spring-oxm\5.3.8\spring-oxm-5.3.8.jar;D:\work\program\maven_lib\org\slf4j\slf4j-api\1.7.31\slf4j-api-1.7.31.jar;D:\work\program\maven_lib\io\lettuce\lettuce-core\6.1.3.RELEASE\lettuce-core-6.1.3.RELEASE.jar;D:\work\program\maven_lib\io\netty\netty-common\4.1.65.Final\netty-common-4.1.65.Final.jar;D:\work\program\maven_lib\io\netty\netty-transport\4.1.65.Final\netty-transport-4.1.65.Final.jar;D:\work\program\maven_lib\de\codecentric\spring-boot-admin-starter-client\2.4.2\spring-boot-admin-starter-client-2.4.2.jar;D:\work\program\maven_lib\de\codecentric\spring-boot-admin-client\2.4.2\spring-boot-admin-client-2.4.2.jar;D:\work\program\maven_lib\org\springframework\cloud\spring-cloud-starter-loadbalancer\3.0.3\spring-cloud-starter-loadbalancer-3.0.3.jar;D:\work\program\maven_lib\org\springframework\cloud\spring-cloud-loadbalancer\3.0.3\spring-cloud-loadbalancer-3.0.3.jar;D:\work\program\maven_lib\io\projectreactor\reactor-core\3.4.7\reactor-core-3.4.7.jar;D:\work\program\maven_lib\org\reactivestreams\reactive-streams\1.0.3\reactive-streams-1.0.3.jar;D:\work\program\maven_lib\org\springframework\boot\spring-boot-starter-cache\2.5.2\spring-boot-starter-cache-2.5.2.jar;D:\work\program\maven_lib\org\springframework\spring-context-support\5.3.8\spring-context-support-5.3.8.jar;D:\work\program\maven_lib\org\springframework\spring-context\5.3.8\spring-context-5.3.8.jar;D:\work\program\maven_lib\org\springframework\spring-expression\5.3.8\spring-expression-5.3.8.jar;D:\work\program\maven_lib\com\stoyanr\evictor\1.0.0\evictor-1.0.0.jar;D:\work\program\maven_lib\org\springframework\cloud\spring-cloud-starter-bootstrap\3.0.3\spring-cloud-starter-bootstrap-3.0.3.jar;D:\work\program\maven_lib\com\alibaba\cloud\spring-cloud-starter-alibaba-sentinel\2021.1\spring-cloud-starter-alibaba-sentinel-2021.1.jar;D:\work\program\maven_lib\com\alibaba\csp\sentinel-transport-simple-http\1.8.0\sentinel-transport-simple-http-1.8.0.jar;D:\work\program\maven_lib\com\alibaba\csp\sentinel-transport-common\1.8.0\sentinel-transport-common-1.8.0.jar;D:\work\program\maven_lib\com\alibaba\csp\sentinel-datasource-extension\1.8.0\sentinel-datasource-extension-1.8.0.jar;D:\work\program\maven_lib\com\alibaba\csp\sentinel-annotation-aspectj\1.8.0\sentinel-annotation-aspectj-1.8.0.jar;D:\work\program\maven_lib\com\alibaba\csp\sentinel-core\1.8.0\sentinel-core-1.8.0.jar;D:\work\program\maven_lib\org\aspectj\aspectjrt\1.9.6\aspectjrt-1.9.6.jar;D:\work\program\maven_lib\com\alibaba\cloud\spring-cloud-circuitbreaker-sentinel\2021.1\spring-cloud-circuitbreaker-sentinel-2021.1.jar;D:\work\program\maven_lib\com\alibaba\csp\sentinel-reactor-adapter\1.8.0\sentinel-reactor-adapter-1.8.0.jar;D:\work\program\maven_lib\com\alibaba\csp\sentinel-spring-webflux-adapter\1.8.0\sentinel-spring-webflux-adapter-1.8.0.jar;D:\work\program\maven_lib\com\alibaba\csp\sentinel-spring-webmvc-adapter\1.8.0\sentinel-spring-webmvc-adapter-1.8.0.jar;D:\work\program\maven_lib\com\alibaba\csp\sentinel-parameter-flow-control\1.8.0\sentinel-parameter-flow-control-1.8.0.jar;D:\work\program\maven_lib\com\googlecode\concurrentlinkedhashmap\concurrentlinkedhashmap-lru\1.4.2\concurrentlinkedhashmap-lru-1.4.2.jar;D:\work\program\maven_lib\com\alibaba\csp\sentinel-cluster-server-default\1.8.0\sentinel-cluster-server-default-1.8.0.jar;D:\work\program\maven_lib\com\alibaba\csp\sentinel-cluster-common-default\1.8.0\sentinel-cluster-common-default-1.8.0.jar;D:\work\program\maven_lib\io\netty\netty-handler\4.1.65.Final\netty-handler-4.1.65.Final.jar;D:\work\program\maven_lib\io\netty\netty-resolver\4.1.65.Final\netty-resolver-4.1.65.Final.jar;D:\work\program\maven_lib\io\netty\netty-buffer\4.1.65.Final\netty-buffer-4.1.65.Final.jar;D:\work\program\maven_lib\io\netty\netty-codec\4.1.65.Final\netty-codec-4.1.65.Final.jar;D:\work\program\maven_lib\com\alibaba\csp\sentinel-cluster-client-default\1.8.0\sentinel-cluster-client-default-1.8.0.jar;D:\work\program\maven_lib\com\alibaba\cloud\spring-cloud-alibaba-sentinel-datasource\2021.1\spring-cloud-alibaba-sentinel-datasource-2021.1.jar;D:\work\program\maven_lib\com\alibaba\cloud\spring-cloud-starter-alibaba-nacos-discovery\2021.1\spring-cloud-starter-alibaba-nacos-discovery-2021.1.jar;D:\work\program\maven_lib\com\alibaba\cloud\spring-cloud-alibaba-commons\2021.1\spring-cloud-alibaba-commons-2021.1.jar;D:\work\program\maven_lib\com\alibaba\spring\spring-context-support\1.0.10\spring-context-support-1.0.10.jar;D:\work\program\maven_lib\org\springframework\cloud\spring-cloud-commons\3.0.3\spring-cloud-commons-3.0.3.jar;D:\work\program\maven_lib\org\springframework\security\spring-security-crypto\5.5.1\spring-security-crypto-5.5.1.jar;D:\work\program\maven_lib\org\springframework\cloud\spring-cloud-context\3.0.3\spring-cloud-context-3.0.3.jar;D:\work\program\maven_lib\com\alibaba\cloud\spring-cloud-starter-alibaba-nacos-config\2021.1\spring-cloud-starter-alibaba-nacos-config-2021.1.jar;D:\work\program\maven_lib\com\alibaba\nacos\nacos-client\2.0.2\nacos-client-2.0.2.jar;D:\work\program\maven_lib\commons-codec\commons-codec\1.15\commons-codec-1.15.jar;D:\work\program\maven_lib\com\fasterxml\jackson\core\jackson-core\2.12.3\jackson-core-2.12.3.jar;D:\work\program\maven_lib\com\fasterxml\jackson\core\jackson-databind\2.12.3\jackson-databind-2.12.3.jar;D:\work\program\maven_lib\com\fasterxml\jackson\core\jackson-annotations\2.12.3\jackson-annotations-2.12.3.jar;D:\work\program\maven_lib\org\apache\httpcomponents\httpasyncclient\4.1.4\httpasyncclient-4.1.4.jar;D:\work\program\maven_lib\org\apache\httpcomponents\httpcore\4.4.14\httpcore-4.4.14.jar;D:\work\program\maven_lib\org\apache\httpcomponents\httpcore-nio\4.4.14\httpcore-nio-4.4.14.jar;D:\work\program\maven_lib\org\apache\httpcomponents\httpclient\4.5.13\httpclient-4.5.13.jar;D:\work\program\maven_lib\org\reflections\reflections\0.9.11\reflections-0.9.11.jar;D:\work\program\maven_lib\com\google\guava\guava\20.0\guava-20.0.jar;D:\work\program\maven_lib\org\javassist\javassist\3.21.0-GA\javassist-3.21.0-GA.jar;D:\work\program\maven_lib\io\prometheus\simpleclient\0.5.0\simpleclient-0.5.0.jar;D:\work\program\maven_lib\org\yaml\snakeyaml\1.28\snakeyaml-1.28.jar;D:\work\program\maven_lib\io\jsonwebtoken\jjwt-impl\0.11.2\jjwt-impl-0.11.2.jar;D:\work\program\maven_lib\io\jsonwebtoken\jjwt-api\0.11.2\jjwt-api-0.11.2.jar;D:\work\program\maven_lib\io\jsonwebtoken\jjwt-jackson\0.11.2\jjwt-jackson-0.11.2.jar;D:\work\program\maven_lib\org\projectlombok\lombok\1.18.20\lombok-1.18.20.jar;C:\Program Files\JetBrains\IntelliJ IDEA 2021.3.3\lib\idea_rt.jar" com.yilian.gateway.GateWayApplication
OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
Connected to the target VM, address: '127.0.0.1:53898', transport: 'socket'
----启动中,读取到的环境变量:[dev],jar地址:[/D:/work/project/songuoy/erp_sub/yilian-gateway/target/classes/]----

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::                (v2.5.2)

2022-07-12 20:21:10.050  INFO 10140 --- [           main] c.a.n.c.c.impl.LocalConfigInfoProcessor  : LOCAL_SNAPSHOT_PATH:C:\Users\nhgbb\nacos\config
2022-07-12 20:21:10.063  INFO 10140 --- [           main] com.alibaba.nacos.common.remote.client   : [RpcClientFactory] create a new rpc client of d45ea437-64fa-43c0-ba6c-af1c905c7996_config-0
2022-07-12 20:21:10.209  INFO 10140 --- [           main] org.reflections.Reflections              : Reflections took 90 ms to scan 1 urls, producing 3 keys and 6 values 
2022-07-12 20:21:10.366  INFO 10140 --- [           main] org.reflections.Reflections              : Reflections took 37 ms to scan 1 urls, producing 4 keys and 9 values 
2022-07-12 20:21:10.398  INFO 10140 --- [           main] org.reflections.Reflections              : Reflections took 23 ms to scan 1 urls, producing 3 keys and 10 values 
2022-07-12 20:21:10.403  WARN 10140 --- [           main] org.reflections.Reflections              : given scan urls are empty. set urls in the configuration
2022-07-12 20:21:10.418  INFO 10140 --- [           main] org.reflections.Reflections              : Reflections took 14 ms to scan 1 urls, producing 1 keys and 5 values 
2022-07-12 20:21:10.472  INFO 10140 --- [           main] org.reflections.Reflections              : Reflections took 47 ms to scan 1 urls, producing 1 keys and 7 values 
2022-07-12 20:21:10.496  INFO 10140 --- [           main] org.reflections.Reflections              : Reflections took 19 ms to scan 1 urls, producing 2 keys and 8 values 
2022-07-12 20:21:10.500  WARN 10140 --- [           main] org.reflections.Reflections              : given scan urls are empty. set urls in the configuration
2022-07-12 20:21:10.504  INFO 10140 --- [           main] com.alibaba.nacos.common.remote.client   : [d45ea437-64fa-43c0-ba6c-af1c905c7996_config-0]RpcClient init label, labels={module=config, Vipserver-Tag=null, source=sdk, Amory-Tag=null, Location-Tag=null, taskId=0, AppName=unknown}
2022-07-12 20:21:10.505  INFO 10140 --- [           main] com.alibaba.nacos.common.remote.client   : [d45ea437-64fa-43c0-ba6c-af1c905c7996_config-0]Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$447/0x0000000800f04e00
2022-07-12 20:21:10.506  INFO 10140 --- [           main] com.alibaba.nacos.common.remote.client   : [d45ea437-64fa-43c0-ba6c-af1c905c7996_config-0]Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$448/0x0000000800f05020
2022-07-12 20:21:10.507  INFO 10140 --- [           main] com.alibaba.nacos.common.remote.client   : [d45ea437-64fa-43c0-ba6c-af1c905c7996_config-0]Registry connection listener to current client:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$1
2022-07-12 20:21:10.508  INFO 10140 --- [           main] com.alibaba.nacos.common.remote.client   : [d45ea437-64fa-43c0-ba6c-af1c905c7996_config-0]RpcClient init, ServerListFactory =com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$2
2022-07-12 20:21:10.532  INFO 10140 --- [           main] com.alibaba.nacos.common.remote.client   : [d45ea437-64fa-43c0-ba6c-af1c905c7996_config-0] Try to connect to server on start up, server: {serverIp='192.168.1.5', server main port=8848}
2022-07-12 20:21:12.679  INFO 10140 --- [           main] com.alibaba.nacos.common.remote.client   : [d45ea437-64fa-43c0-ba6c-af1c905c7996_config-0] Success to connect to server [192.168.1.5:8848] on start up,connectionId=1657628472224_192.168.1.5_51987
2022-07-12 20:21:12.681  INFO 10140 --- [t.remote.worker] com.alibaba.nacos.common.remote.client   : [d45ea437-64fa-43c0-ba6c-af1c905c7996_config-0]Notify connected event to listeners.
2022-07-12 20:21:12.681  INFO 10140 --- [t.remote.worker] c.a.n.client.config.impl.ClientWorker    : [d45ea437-64fa-43c0-ba6c-af1c905c7996_config-0] Connected,notify listen context...
2022-07-12 20:21:12.681  INFO 10140 --- [           main] com.alibaba.nacos.common.remote.client   : [d45ea437-64fa-43c0-ba6c-af1c905c7996_config-0]Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
2022-07-12 20:21:12.683  INFO 10140 --- [           main] com.alibaba.nacos.common.remote.client   : [d45ea437-64fa-43c0-ba6c-af1c905c7996_config-0]Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$4
2022-07-12 20:21:12.848  INFO 10140 --- [           main] c.a.nacos.client.config.impl.Limiter     : limitTime:5.0
2022-07-12 20:21:12.912  WARN 10140 --- [           main] c.a.c.n.c.NacosPropertySourceBuilder     : Ignore the empty nacos configuration and get it based on dataId[blade] & group[DEFAULT_GROUP]
2022-07-12 20:21:12.930  WARN 10140 --- [           main] c.a.c.n.c.NacosPropertySourceBuilder     : Ignore the empty nacos configuration and get it based on dataId[blade.yaml] & group[DEFAULT_GROUP]
2022-07-12 20:21:12.956  INFO 10140 --- [           main] c.a.nacos.client.config.utils.JvmUtil    : isMultiInstance:false
2022-07-12 20:21:12.973  INFO 10140 --- [           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-07-12 20:21:12.988  INFO 10140 --- [           main] com.yilian.gateway.GateWayApplication    : The following profiles are active: dev
2022-07-12 20:21:14.663  INFO 10140 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode!
2022-07-12 20:21:14.666  INFO 10140 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2022-07-12 20:21:14.697  INFO 10140 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 11 ms. Found 0 Redis repository interfaces.
2022-07-12 20:21:14.961  INFO 10140 --- [           main] o.s.cloud.context.scope.GenericScope     : BeanFactory id=951cc4a7-1c20-3bff-aa41-eef2517cdd6f
2022-07-12 20:21:15.630  INFO 10140 --- [           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)
2022-07-12 20:21:15.633  INFO 10140 --- [           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-07-12 20:21:15.650  INFO 10140 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.client.loadbalancer.reactive.LoadBalancerBeanPostProcessorAutoConfiguration' of type [org.springframework.cloud.client.loadbalancer.reactive.LoadBalancerBeanPostProcessorAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2022-07-12 20:21:15.653  INFO 10140 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.client.loadbalancer.reactive.LoadBalancerBeanPostProcessorAutoConfiguration$ReactorDeferringLoadBalancerFilterConfig' of type [org.springframework.cloud.client.loadbalancer.reactive.LoadBalancerBeanPostProcessorAutoConfiguration$ReactorDeferringLoadBalancerFilterConfig] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2022-07-12 20:21:15.661  INFO 10140 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'reactorDeferringLoadBalancerExchangeFilterFunction' of type [org.springframework.cloud.client.loadbalancer.reactive.DeferringLoadBalancerExchangeFilterFunction] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2022-07-12 20:21:18.647  INFO 10140 --- [           main] o.s.c.g.r.RouteDefinitionRouteLocator    : Loaded RoutePredicateFactory [After]
2022-07-12 20:21:18.647  INFO 10140 --- [           main] o.s.c.g.r.RouteDefinitionRouteLocator    : Loaded RoutePredicateFactory [Before]
2022-07-12 20:21:18.647  INFO 10140 --- [           main] o.s.c.g.r.RouteDefinitionRouteLocator    : Loaded RoutePredicateFactory [Between]
2022-07-12 20:21:18.647  INFO 10140 --- [           main] o.s.c.g.r.RouteDefinitionRouteLocator    : Loaded RoutePredicateFactory [Cookie]
2022-07-12 20:21:18.647  INFO 10140 --- [           main] o.s.c.g.r.RouteDefinitionRouteLocator    : Loaded RoutePredicateFactory [Header]
2022-07-12 20:21:18.647  INFO 10140 --- [           main] o.s.c.g.r.RouteDefinitionRouteLocator    : Loaded RoutePredicateFactory [Host]
2022-07-12 20:21:18.647  INFO 10140 --- [           main] o.s.c.g.r.RouteDefinitionRouteLocator    : Loaded RoutePredicateFactory [Method]
2022-07-12 20:21:18.647  INFO 10140 --- [           main] o.s.c.g.r.RouteDefinitionRouteLocator    : Loaded RoutePredicateFactory [Path]
2022-07-12 20:21:18.648  INFO 10140 --- [           main] o.s.c.g.r.RouteDefinitionRouteLocator    : Loaded RoutePredicateFactory [Query]
2022-07-12 20:21:18.648  INFO 10140 --- [           main] o.s.c.g.r.RouteDefinitionRouteLocator    : Loaded RoutePredicateFactory [ReadBody]
2022-07-12 20:21:18.648  INFO 10140 --- [           main] o.s.c.g.r.RouteDefinitionRouteLocator    : Loaded RoutePredicateFactory [RemoteAddr]
2022-07-12 20:21:18.648  INFO 10140 --- [           main] o.s.c.g.r.RouteDefinitionRouteLocator    : Loaded RoutePredicateFactory [Weight]
2022-07-12 20:21:18.648  INFO 10140 --- [           main] o.s.c.g.r.RouteDefinitionRouteLocator    : Loaded RoutePredicateFactory [CloudFoundryRouteService]
2022-07-12 20:21:19.055  INFO 10140 --- [           main] com.alibaba.nacos.client.naming          : initializer namespace from System Property :null
2022-07-12 20:21:19.057  INFO 10140 --- [           main] com.alibaba.nacos.client.naming          : initializer namespace from System Environment :null
2022-07-12 20:21:19.058  INFO 10140 --- [           main] com.alibaba.nacos.client.naming          : initializer namespace from System Property :null
2022-07-12 20:21:19.103  INFO 10140 --- [           main] com.alibaba.nacos.common.remote.client   : [RpcClientFactory] create a new rpc client of 6016178c-d67a-4e1b-a428-a0648a3fa1e4
2022-07-12 20:21:19.103  INFO 10140 --- [           main] com.alibaba.nacos.common.remote.client   : [6016178c-d67a-4e1b-a428-a0648a3fa1e4]RpcClient init label, labels={module=naming, source=sdk}
2022-07-12 20:21:19.104  INFO 10140 --- [           main] com.alibaba.nacos.common.remote.client   : [6016178c-d67a-4e1b-a428-a0648a3fa1e4]RpcClient init, ServerListFactory =com.alibaba.nacos.client.naming.core.ServerListManager
2022-07-12 20:21:19.105  INFO 10140 --- [           main] com.alibaba.nacos.common.remote.client   : [6016178c-d67a-4e1b-a428-a0648a3fa1e4] Try to connect to server on start up, server: {serverIp='192.168.1.5', server main port=8848}
2022-07-12 20:21:19.262  INFO 10140 --- [           main] com.alibaba.nacos.common.remote.client   : [6016178c-d67a-4e1b-a428-a0648a3fa1e4] Success to connect to server [192.168.1.5:8848] on start up,connectionId=1657628479128_192.168.1.5_51989
2022-07-12 20:21:19.262  INFO 10140 --- [           main] com.alibaba.nacos.common.remote.client   : [6016178c-d67a-4e1b-a428-a0648a3fa1e4]Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
2022-07-12 20:21:19.262  INFO 10140 --- [           main] com.alibaba.nacos.common.remote.client   : [6016178c-d67a-4e1b-a428-a0648a3fa1e4]Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$4
2022-07-12 20:21:19.263  INFO 10140 --- [           main] com.alibaba.nacos.common.remote.client   : [6016178c-d67a-4e1b-a428-a0648a3fa1e4]Register server push request handler:com.alibaba.nacos.client.naming.remote.gprc.NamingPushRequestHandler
2022-07-12 20:21:19.264  INFO 10140 --- [           main] com.alibaba.nacos.common.remote.client   : [6016178c-d67a-4e1b-a428-a0648a3fa1e4]Registry connection listener to current client:com.alibaba.nacos.client.naming.remote.gprc.NamingGrpcConnectionEventListener
2022-07-12 20:21:19.783  INFO 10140 --- [           main] o.s.b.a.e.web.EndpointLinksResolver      : Exposing 1 endpoint(s) beneath base path '/actuator'
2022-07-12 20:21:19.909  WARN 10140 --- [           main] onfigReactiveWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webHandler' defined in class path resource [org/springframework/boot/autoconfigure/web/reactive/WebFluxAutoConfiguration$EnableWebFluxConfiguration.class]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestMappingHandlerAdapter' defined in class path resource [org/springframework/boot/autoconfigure/web/reactive/WebFluxAutoConfiguration$EnableWebFluxConfiguration.class]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Failed to introspect Class [com.yilian.common.config.MyAdviceException] from ClassLoader [jdk.internal.loader.ClassLoaders$AppClassLoader@63947c6b]
2022-07-12 20:21:19.910  INFO 10140 --- [           main] com.alibaba.nacos.client.naming          : com.alibaba.nacos.client.naming.cache.ServiceInfoHolder do shutdown begin
2022-07-12 20:21:19.910  INFO 10140 --- [           main] com.alibaba.nacos.client.naming          : com.alibaba.nacos.client.naming.backups.FailoverReactor do shutdown begin
2022-07-12 20:21:20.229  INFO 10140 --- [           main] com.alibaba.nacos.client.naming          : com.alibaba.nacos.client.naming.backups.FailoverReactor do shutdown stop
2022-07-12 20:21:20.229  INFO 10140 --- [           main] com.alibaba.nacos.client.naming          : com.alibaba.nacos.client.naming.cache.ServiceInfoHolder do shutdown stop
2022-07-12 20:21:20.229  INFO 10140 --- [           main] com.alibaba.nacos.client.naming          : com.alibaba.nacos.client.naming.remote.NamingClientProxyDelegate do shutdown begin
2022-07-12 20:21:20.229  INFO 10140 --- [           main] com.alibaba.nacos.client.naming          : com.alibaba.nacos.client.naming.core.ServiceInfoUpdateService do shutdown begin
2022-07-12 20:21:20.229  INFO 10140 --- [           main] com.alibaba.nacos.client.naming          : com.alibaba.nacos.client.naming.core.ServiceInfoUpdateService do shutdown stop
2022-07-12 20:21:20.229  INFO 10140 --- [           main] com.alibaba.nacos.client.naming          : com.alibaba.nacos.client.naming.core.ServerListManager do shutdown begin
2022-07-12 20:21:20.230  WARN 10140 --- [           main] com.alibaba.nacos.client.naming          : [NamingHttpClientManager] Start destroying NacosRestTemplate
2022-07-12 20:21:20.230  WARN 10140 --- [           main] com.alibaba.nacos.client.naming          : [NamingHttpClientManager] Destruction of the end
2022-07-12 20:21:20.230  INFO 10140 --- [           main] com.alibaba.nacos.client.naming          : com.alibaba.nacos.client.naming.core.ServerListManager do shutdown stop
2022-07-12 20:21:20.230  INFO 10140 --- [           main] com.alibaba.nacos.client.naming          : com.alibaba.nacos.client.naming.remote.http.NamingHttpClientProxy do shutdown begin
2022-07-12 20:21:20.230  INFO 10140 --- [           main] com.alibaba.nacos.client.naming          : com.alibaba.nacos.client.naming.beat.BeatReactor do shutdown begin
2022-07-12 20:21:20.230  INFO 10140 --- [           main] com.alibaba.nacos.client.naming          : com.alibaba.nacos.client.naming.beat.BeatReactor do shutdown stop
2022-07-12 20:21:20.230  WARN 10140 --- [           main] com.alibaba.nacos.client.naming          : [NamingHttpClientManager] Start destroying NacosRestTemplate
2022-07-12 20:21:20.230  WARN 10140 --- [           main] com.alibaba.nacos.client.naming          : [NamingHttpClientManager] Destruction of the end
2022-07-12 20:21:20.230  INFO 10140 --- [           main] c.a.n.client.identify.CredentialWatcher  : [null] CredentialWatcher is stopped
2022-07-12 20:21:20.231  INFO 10140 --- [           main] c.a.n.client.identify.CredentialService  : [null] CredentialService is freed
2022-07-12 20:21:20.231  INFO 10140 --- [           main] com.alibaba.nacos.client.naming          : com.alibaba.nacos.client.naming.remote.http.NamingHttpClientProxy do shutdown stop
2022-07-12 20:21:20.231  INFO 10140 --- [           main] com.alibaba.nacos.common.remote.client   : Shutdown rpc client ,set status to shutdown
2022-07-12 20:21:20.231  INFO 10140 --- [           main] com.alibaba.nacos.common.remote.client   : Shutdown  client event executor java.util.concurrent.ScheduledThreadPoolExecutor@284f25e6[Running, pool size = 2, active threads = 2, queued tasks = 0, completed tasks = 0]
2022-07-12 20:21:20.231  INFO 10140 --- [           main] com.alibaba.nacos.common.remote.client   : Close current connection 1657628479128_192.168.1.5_51989
2022-07-12 20:21:20.237  INFO 10140 --- [ient-executor-3] c.a.n.c.remote.client.grpc.GrpcClient    : [1657628479128_192.168.1.5_51989]Ignore complete event,isRunning:false,isAbandon=false
2022-07-12 20:21:20.246  INFO 10140 --- [           main] c.a.n.c.remote.client.grpc.GrpcClient    : Shutdown grpc executor java.util.concurrent.ThreadPoolExecutor@126d0868[Running, pool size = 4, active threads = 0, queued tasks = 0, completed tasks = 4]
2022-07-12 20:21:20.249  INFO 10140 --- [           main] com.alibaba.nacos.client.naming          : com.alibaba.nacos.client.naming.remote.NamingClientProxyDelegate do shutdown stop
2022-07-12 20:21:20.326  INFO 10140 --- [           main] ConditionEvaluationReportLoggingListener : 

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2022-07-12 20:21:20.367 ERROR 10140 --- [           main] o.s.boot.SpringApplication               : Application run failed

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webHandler' defined in class path resource [org/springframework/boot/autoconfigure/web/reactive/WebFluxAutoConfiguration$EnableWebFluxConfiguration.class]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestMappingHandlerAdapter' defined in class path resource [org/springframework/boot/autoconfigure/web/reactive/WebFluxAutoConfiguration$EnableWebFluxConfiguration.class]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Failed to introspect Class [com.yilian.common.config.MyAdviceException] from ClassLoader [jdk.internal.loader.ClassLoaders$AppClassLoader@63947c6b]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:610) ~[spring-beans-5.3.8.jar:5.3.8]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:524) ~[spring-beans-5.3.8.jar:5.3.8]
	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) ~[spring-beans-5.3.8.jar:5.3.8]
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.3.8.jar:5.3.8]
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) ~[spring-beans-5.3.8.jar:5.3.8]
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) ~[spring-beans-5.3.8.jar:5.3.8]
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:944) ~[spring-beans-5.3.8.jar:5.3.8]
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918) ~[spring-context-5.3.8.jar:5.3.8]
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) ~[spring-context-5.3.8.jar:5.3.8]
	at org.springframework.boot.web.reactive.context.ReactiveWebServerApplicationContext.refresh(ReactiveWebServerApplicationContext.java:64) ~[spring-boot-2.5.2.jar:2.5.2]
	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754) ~[spring-boot-2.5.2.jar:2.5.2]
	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:434) ~[spring-boot-2.5.2.jar:2.5.2]
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:338) ~[spring-boot-2.5.2.jar:2.5.2]
	at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:144) ~[spring-boot-2.5.2.jar:2.5.2]
	at org.springblade.core.launch.BladeApplication.run(BladeApplication.java:49) ~[blade-core-launch-3.1.0.jar:na]
	at com.yilian.gateway.GateWayApplication.main(GateWayApplication.java:38) ~[classes/:na]
Caused by: org.springframework.beans.          
        
1条回答
  • 2022-07-19 11:21

    使用nacos2.x需要开通3个端口,具体见:https://www.kancloud.cn/smallchill/blade/1289445

    作者追问:2022-07-19 23:28

    我们是本地开发,

    除了这个网关启动不了,其他的服务都能启动,而且在nacos上面也注册了这些服务


    0 讨论(0)
提交回复