docker_blade-auth 拿不到 url ${blade.datasource.test.url}

Blade 未结 2 926
luying777
luying777 剑圣 2021-08-08 18:05
悬赏:10

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

1. 使用deploy.sh docker-commpose.yml 部署 docker,按文档部署 第815页到820页;

2. docker 内部网段(172.30.0.*)不同容器网络已通

3.nacos 可以正常访问,配置,同时可能过宿主机访问,在开发内网,可通过局域网访问,并使用idea,可以正常连接nacos,进行开发;

nacos 三个端口已经打开:8848,9848,9849


二、你期待的结果是什么?实际看到的又是什么?

希望部署的docker 能在正式环境中使用;但目前 

docker_blade-auth2_1 docker_blade-auth1_1 拿不到 url ${blade.datasource.test.url},

报错误:java.sql.SQLException: connect error, url ${blade.datasource.test.url}, driverClass com.mysql.cj.jdbc.Driver


运行时报错误:

ERROR 1 --- [           main] com.alibaba.nacos.common.remote.client   : Send request fail, request=ConfigQueryRequest{headers={charset=UTF-8, exConfigInfo=true, Client-AppName=unknown, Client-RequestTS=1628416191526, Client-RequestToken=0d8e26ec4f5379b6ae8fa22e1946cd00, Timestamp=1628416191527, notify=false}, requestId='null'}, retryTimes=0,errorMessage=Client not connected,current status:STARTING

2021-08-08 17:49:51.729


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

bladex 2.8.1   vmwar 虚拟机, linux Contes 7.9,使用docker 1.20版本


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

----启动中,读取到的环境变量:[test],jar地址:[file:/blade/auth/app.jar]----

                   ______  _             _       ___   ___

                   | ___ \| |           | |      \  \ /  /

                   | |_/ /| |  __ _   __| |  ___  \  V  /

                   | ___ \| | / _` | / _` | / _ \   > <

                   | |_/ /| || (_| || (_| ||  __/ /  .  \

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


:: BladeX 2.8.1.RELEASE :: blade-auth:test :: Running SpringBoot 2.2.13.RELEASE ::


2021-08-08 17:49:33.402  INFO 1 --- [           main] c.a.n.c.c.impl.LocalConfigInfoProcessor  : LOCAL_SNAPSHOT_PATH:/root/nacos/config

2021-08-08 17:49:33.699  INFO 1 --- [           main] org.reflections.Reflections              : Reflections took 208 ms to scan 1 urls, producing 3 keys and 6 values

2021-08-08 17:49:33.774  INFO 1 --- [           main] org.reflections.Reflections              : Reflections took 52 ms to scan 1 urls, producing 4 keys and 9 values

2021-08-08 17:49:33.823  INFO 1 --- [           main] org.reflections.Reflections              : Reflections took 44 ms to scan 1 urls, producing 3 keys and 10 values

2021-08-08 17:49:34.436  INFO 1 --- [           main] org.reflections.Reflections              : Reflections took 609 ms to scan 266 urls, producing 0 keys and 0 values

2021-08-08 17:49:34.481  INFO 1 --- [           main] org.reflections.Reflections              : Reflections took 43 ms to scan 1 urls, producing 1 keys and 5 values

2021-08-08 17:49:34.530  INFO 1 --- [           main] org.reflections.Reflections              : Reflections took 42 ms to scan 1 urls, producing 1 keys and 7 values

2021-08-08 17:49:34.693  INFO 1 --- [           main] org.reflections.Reflections              : Reflections took 82 ms to scan 1 urls, producing 2 keys and 8 values

2021-08-08 17:49:35.274  INFO 1 --- [           main] org.reflections.Reflections              : Reflections took 565 ms to scan 266 urls, producing 0 keys and 0 values

2021-08-08 17:49:35.276  INFO 1 --- [           main] com.alibaba.nacos.common.remote.client   : [config-0-67773072-708a-4c54-9bd9-6727259c11ba]RpcClient init label, labels={module=config, Vipserver-Tag=null, source=sdk, Amory-Tag=null, Location-Tag=null, taskId=0, AppName=unknown}

2021-08-08 17:49:35.277  INFO 1 --- [           main] com.alibaba.nacos.common.remote.client   : [config-0-67773072-708a-4c54-9bd9-6727259c11ba]Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$261/000000006C845DD0

2021-08-08 17:49:35.278  INFO 1 --- [           main] com.alibaba.nacos.common.remote.client   : [config-0-67773072-708a-4c54-9bd9-6727259c11ba]Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$262/000000006C8466A0

2021-08-08 17:49:35.279  INFO 1 --- [           main] com.alibaba.nacos.common.remote.client   : [config-0-67773072-708a-4c54-9bd9-6727259c11ba]Registry connection listener to current client:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$1

2021-08-08 17:49:35.281  INFO 1 --- [           main] com.alibaba.nacos.common.remote.client   : [config-0-67773072-708a-4c54-9bd9-6727259c11ba]RpcClient init, ServerListFactory =com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$2

2021-08-08 17:49:35.288  INFO 1 --- [           main] com.alibaba.nacos.common.remote.client   : [config-0-67773072-708a-4c54-9bd9-6727259c11ba] Try to connect to server on start up, server: {serverIp='192.168.1.133', server main port=8848}

2021-08-08 17:49:39.481  INFO 1 --- [           main] com.alibaba.nacos.common.remote.client   : [config-0-67773072-708a-4c54-9bd9-6727259c11ba] Try to connect to server on start up, server: {serverIp='192.168.1.133', server main port=8848}

2021-08-08 17:49:42.532  INFO 1 --- [           main] com.alibaba.nacos.common.remote.client   : [config-0-67773072-708a-4c54-9bd9-6727259c11ba] Try to connect to server on start up, server: {serverIp='192.168.1.133', server main port=8848}

2021-08-08 17:49:50.334  INFO 1 --- [t.remote.worker] com.alibaba.nacos.common.remote.client   : [config-0-67773072-708a-4c54-9bd9-6727259c11ba] try to re connect to a new server ,server is  not appointed,will choose a random server.

2021-08-08 17:49:50.334  INFO 1 --- [           main] com.alibaba.nacos.common.remote.client   : [config-0-67773072-708a-4c54-9bd9-6727259c11ba]Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler

2021-08-08 17:49:50.335  INFO 1 --- [           main] com.alibaba.nacos.common.remote.client   : [config-0-67773072-708a-4c54-9bd9-6727259c11ba]Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$4

2021-08-08 17:49:50.562  INFO 1 --- [           main] c.a.nacos.client.config.impl.Limiter     : limitTime:5.0

2021-08-08 17:49:50.686 ERROR 1 --- [           main] com.alibaba.nacos.common.remote.client   : Send request fail, request=ConfigQueryRequest{headers={charset=UTF-8, exConfigInfo=true, Client-AppName=unknown, Client-RequestTS=1628416190346, Client-RequestToken=0e630b2272d69e3452dcfeb9a1422c6a, Timestamp=1628416190348, notify=false}, requestId='null'}, retryTimes=0,errorMessage=Client not connected,current status:STARTING

2021-08-08 17:49:50.787 ERROR 1 --- [           main] com.alibaba.nacos.common.remote.client   : Send request fail, request=ConfigQueryRequest{headers={charset=UTF-8, exConfigInfo=true, Client-AppName=unknown, Client-RequestTS=1628416190346, Client-RequestToken=0e630b2272d69e3452dcfeb9a1422c6a, Timestamp=1628416190348, notify=false}, requestId='null'}, retryTimes=1,errorMessage=Client not connected,current status:STARTING

2021-08-08 17:49:50.888 ERROR 1 --- [           main] com.alibaba.nacos.common.remote.client   : Send request fail, request=ConfigQueryRequest{headers={charset=UTF-8, exConfigInfo=true, Client-AppName=unknown, Client-RequestTS=1628416190346, Client-RequestToken=0e630b2272d69e3452dcfeb9a1422c6a, Timestamp=1628416190348, notify=false}, requestId='null'}, retryTimes=2,errorMessage=Client not connected,current status:STARTING

2021-08-08 17:49:50.889  WARN 1 --- [           main] c.a.n.client.config.NacosConfigService   : [config_rpc_client] [get-config] get from server error, dataId=blade.yaml, group=DEFAULT_GROUP, tenant=, msg=ErrCode:-401, ErrMsg:Client not connected,current status:STARTING

2021-08-08 17:49:50.890  WARN 1 --- [           main] c.a.n.client.config.NacosConfigService   : [config_rpc_client] [get-config] get snapshot ok, dataId=blade.yaml, group=DEFAULT_GROUP, tenant=, config=

2021-08-08 17:49:50.892  WARN 1 --- [           main] c.a.c.n.c.NacosPropertySourceBuilder     : Ignore the empty nacos configuration and get it based on dataId[blade.yaml] & group[DEFAULT_GROUP]

2021-08-08 17:49:50.998 ERROR 1 --- [           main] com.alibaba.nacos.common.remote.client   : Send request fail, request=ConfigQueryRequest{headers={charset=UTF-8, exConfigInfo=true, Client-AppName=unknown, Client-RequestTS=1628416190894, Client-RequestToken=f0af223662cec5b64367aaaa8789a9f7, Timestamp=1628416190895, notify=false}, requestId='null'}, retryTimes=0,errorMessage=Client not connected,current status:STARTING

2021-08-08 17:49:51.099 ERROR 1 --- [           main] com.alibaba.nacos.common.remote.client   : Send request fail, request=ConfigQueryRequest{headers={charset=UTF-8, exConfigInfo=true, Client-AppName=unknown, Client-RequestTS=1628416190894, Client-RequestToken=f0af223662cec5b64367aaaa8789a9f7, Timestamp=1628416190895, notify=false}, requestId='null'}, retryTimes=1,errorMessage=Client not connected,current status:STARTING

2021-08-08 17:49:51.211 ERROR 1 --- [           main] com.alibaba.nacos.common.remote.client   : Send request fail, request=ConfigQueryRequest{headers={charset=UTF-8, exConfigInfo=true, Client-AppName=unknown, Client-RequestTS=1628416190894, Client-RequestToken=f0af223662cec5b64367aaaa8789a9f7, Timestamp=1628416190895, notify=false}, requestId='null'}, retryTimes=2,errorMessage=Client not connected,current status:STARTING

2021-08-08 17:49:51.212  WARN 1 --- [           main] c.a.n.client.config.NacosConfigService   : [config_rpc_client] [get-config] get from server error, dataId=blade-test.yaml, group=DEFAULT_GROUP, tenant=, msg=ErrCode:-401, ErrMsg:Client not connected,current status:STARTING

2021-08-08 17:49:51.213  WARN 1 --- [           main] c.a.n.client.config.NacosConfigService   : [config_rpc_client] [get-config] get snapshot ok, dataId=blade-test.yaml, group=DEFAULT_GROUP, tenant=, config=

2021-08-08 17:49:51.213  WARN 1 --- [           main] c.a.c.n.c.NacosPropertySourceBuilder     : Ignore the empty nacos configuration and get it based on dataId[blade-test.yaml] & group[DEFAULT_GROUP]

2021-08-08 17:49:51.321 ERROR 1 --- [           main] com.alibaba.nacos.common.remote.client   : Send request fail, request=ConfigQueryRequest{headers={charset=UTF-8, exConfigInfo=true, Client-AppName=unknown, Client-RequestTS=1628416191214, Client-RequestToken=3929acba8570bb63c3608a5c8a3d1de3, Timestamp=1628416191214, notify=false}, requestId='null'}, retryTimes=0,errorMessage=Client not connected,current status:STARTING

2021-08-08 17:49:51.422 ERROR 1 --- [           main] com.alibaba.nacos.common.remote.client   : Send request fail, request=ConfigQueryRequest{headers={charset=UTF-8, exConfigInfo=true, Client-AppName=unknown, Client-RequestTS=1628416191214, Client-RequestToken=3929acba8570bb63c3608a5c8a3d1de3, Timestamp=1628416191214, notify=false}, requestId='null'}, retryTimes=1,errorMessage=Client not connected,current status:STARTING

2021-08-08 17:49:51.525 ERROR 1 --- [           main] com.alibaba.nacos.common.remote.client   : Send request fail, request=ConfigQueryRequest{headers={charset=UTF-8, exConfigInfo=true, Client-AppName=unknown, Client-RequestTS=1628416191214, Client-RequestToken=3929acba8570bb63c3608a5c8a3d1de3, Timestamp=1628416191214, notify=false}, requestId='null'}, retryTimes=2,errorMessage=Client not connected,current status:STARTING

2021-08-08 17:49:51.525  WARN 1 --- [           main] c.a.n.client.config.NacosConfigService   : [config_rpc_client] [get-config] get from server error, dataId=blade-auth, group=DEFAULT_GROUP, tenant=, msg=ErrCode:-401, ErrMsg:Client not connected,current status:STARTING

2021-08-08 17:49:51.525  WARN 1 --- [           main] c.a.n.client.config.NacosConfigService   : [config_rpc_client] [get-config] get snapshot ok, dataId=blade-auth, group=DEFAULT_GROUP, tenant=, config=

2021-08-08 17:49:51.526  WARN 1 --- [           main] c.a.c.n.c.NacosPropertySourceBuilder     : Ignore the empty nacos configuration and get it based on dataId[blade-auth] & group[DEFAULT_GROUP]

2021-08-08 17:49:51.628 ERROR 1 --- [           main] com.alibaba.nacos.common.remote.client   : Send request fail, request=ConfigQueryRequest{headers={charset=UTF-8, exConfigInfo=true, Client-AppName=unknown, Client-RequestTS=1628416191526, Client-RequestToken=0d8e26ec4f5379b6ae8fa22e1946cd00, Timestamp=1628416191527, notify=false}, requestId='null'}, retryTimes=0,errorMessage=Client not connected,current status:STARTING

2021-08-08 17:49:51.729 ERROR 1 --- [           main] com.alibaba.nacos.common.remote.client   : Send request fail, request=ConfigQueryRequest{headers={charset=UTF-8, exConfigInfo=true, Client-AppName=unknown, Client-RequestTS=1628416191526, Client-RequestToken=0d8e26ec4f5379b6ae8fa22e1946cd00, Timestamp=1628416191527, notify=false}, requestId='null'}, retryTimes=1,errorMessage=Client not connected,current status:STARTING

2021-08-08 17:49:51.830 ERROR 1 --- [           main] com.alibaba.nacos.common.remote.client   : Send request fail, request=ConfigQueryRequest{headers={charset=UTF-8, exConfigInfo=true, Client-AppName=unknown, Client-RequestTS=1628416191526, Client-RequestToken=0d8e26ec4f5379b6ae8fa22e1946cd00, Timestamp=1628416191527, notify=false}, requestId='null'}, retryTimes=2,errorMessage=Client not connected,current status:STARTING

2021-08-08 17:49:51.830  WARN 1 --- [           main] c.a.n.client.config.NacosConfigService   : [config_rpc_client] [get-config] get from server error, dataId=blade-auth.yaml, group=DEFAULT_GROUP, tenant=, msg=ErrCode:-401, ErrMsg:Client not connected,current status:STARTING

2021-08-08 17:49:51.831  WARN 1 --- [           main] c.a.n.client.config.NacosConfigService   : [config_rpc_client] [get-config] get snapshot ok, dataId=blade-auth.yaml, group=DEFAULT_GROUP, tenant=, config=

2021-08-08 17:49:51.831  WARN 1 --- [           main] c.a.c.n.c.NacosPropertySourceBuilder     : Ignore the empty nacos configuration and get it based on dataId[blade-auth.yaml] & group[DEFAULT_GROUP]

2021-08-08 17:49:51.934 ERROR 1 --- [           main] com.alibaba.nacos.common.remote.client   : Send request fail, request=ConfigQueryRequest{headers={charset=UTF-8, exConfigInfo=true, Client-AppName=unknown, Client-RequestTS=1628416191832, Client-RequestToken=ce0a75f69056b3f052e0d241569c9dc9, Timestamp=1628416191832, notify=false}, requestId='null'}, retryTimes=0,errorMessage=Client not connected,current status:STARTING

2021-08-08 17:49:52.037 ERROR 1 --- [           main] com.alibaba.nacos.common.remote.client   : Send request fail, request=ConfigQueryRequest{headers={charset=UTF-8, exConfigInfo=true, Client-AppName=unknown, Client-RequestTS=1628416191832, Client-RequestToken=ce0a75f69056b3f052e0d241569c9dc9, Timestamp=1628416191832, notify=false}, requestId='null'}, retryTimes=1,errorMessage=Client not connected,current status:STARTING

2021-08-08 17:49:52.144 ERROR 1 --- [           main] com.alibaba.nacos.common.remote.client   : Send request fail, request=ConfigQueryRequest{headers={charset=UTF-8, exConfigInfo=true, Client-AppName=unknown, Client-RequestTS=1628416191832, Client-RequestToken=ce0a75f69056b3f052e0d241569c9dc9, Timestamp=1628416191832, notify=false}, requestId='null'}, retryTimes=2,errorMessage=Client not connected,current status:STARTING

2021-08-08 17:49:52.145  WARN 1 --- [           main] c.a.n.client.config.NacosConfigService   : [config_rpc_client] [get-config] get from server error, dataId=blade-auth-test.yaml, group=DEFAULT_GROUP, tenant=, msg=ErrCode:-401, ErrMsg:Client not connected,current status:STARTING

2021-08-08 17:49:52.145  WARN 1 --- [           main] c.a.n.client.config.NacosConfigService   : [config_rpc_client] [get-config] get snapshot ok, dataId=blade-auth-test.yaml, group=DEFAULT_GROUP, tenant=, config=

2021-08-08 17:49:52.145  WARN 1 --- [           main] c.a.c.n.c.NacosPropertySourceBuilder     : Ignore the empty nacos configuration and get it based on dataId[blade-auth-test.yaml] & group[DEFAULT_GROUP]

2021-08-08 17:49:52.147  INFO 1 --- [           main] b.c.PropertySourceBootstrapConfiguration : Located property source: [BootstrapPropertySource {name='bootstrapProperties-blade-auth-test.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-blade-auth.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-blade-auth,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-blade-test.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-blade.yaml,DEFAULT_GROUP'}]

2021-08-08 17:49:52.310  INFO 1 --- [           main] org.springblade.auth.AuthApplication     : The following profiles are active: test

2021-08-08 17:49:52.699  WARN 1 --- [           main] o.s.c.c.u.SpringFactoryImportSelector    : More than one implementation of @EnableCircuitBreaker (now relying on @Conditionals to pick one): [org.springframework.cloud.netflix.hystrix.HystrixCircuitBreakerConfiguration, com.alibaba.cloud.sentinel.custom.SentinelCircuitBreakerConfiguration]

2021-08-08 17:49:56.662  INFO 1 --- [t.remote.worker] com.alibaba.nacos.common.remote.client   : [config-0-67773072-708a-4c54-9bd9-6727259c11ba] fail to connect server,after trying 1 times, last try server is {serverIp='192.168.1.133', server main port=8848},error=unknown

2021-08-08 17:49:58.975  INFO 1 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode!

2021-08-08 17:49:58.981  INFO 1 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode.

2021-08-08 17:49:59.034  INFO 1 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 20ms. Found 0 Redis repository interfaces.

2021-08-08 17:49:59.210  WARN 1 --- [           main] o.s.boot.actuate.endpoint.EndpointId     : Endpoint ID 'service-registry' contains invalid characters, please migrate to a valid format.

2021-08-08 17:49:59.243  WARN 1 --- [           main] o.s.boot.actuate.endpoint.EndpointId     : Endpoint ID 'hystrix.stream' contains invalid characters, please migrate to a valid format.

2021-08-08 17:49:59.474  WARN 1 --- [           main] o.m.s.mapper.ClassPathMapperScanner      : No MyBatis mapper was found in '[org.springblade.auth]' package. Please check your configuration.

2021-08-08 17:49:59.875  INFO 1 --- [t.remote.worker] com.alibaba.nacos.common.remote.client   : [config-0-67773072-708a-4c54-9bd9-6727259c11ba] fail to connect server,after trying 2 times, last try server is {serverIp='192.168.1.133', server main port=8848},error=unknown

2021-08-08 17:50:00.118  INFO 1 --- [           main] o.s.cloud.context.scope.GenericScope     : BeanFactory id=1ada99cf-dbaa-33fd-b2a9-af6a2ba20b64

2021-08-08 17:50:00.134  INFO 1 --- [           main] s.c.l.p.BladePropertySourcePostProcessor : BladePropertySourcePostProcessor init.

2021-08-08 17:50:00.134  INFO 1 --- [           main] s.c.l.p.BladePropertySourcePostProcessor : BladePropertySourcePostProcessor process @BladePropertySource bean.

2021-08-08 17:50:02.283  INFO 1 --- [           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)

2021-08-08 17:50:02.695  INFO 1 --- [           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)

2021-08-08 17:50:03.231  INFO 1 --- [t.remote.worker] com.alibaba.nacos.common.remote.client   : [config-0-67773072-708a-4c54-9bd9-6727259c11ba] fail to connect server,after trying 3 times, last try server is {serverIp='192.168.1.133', server main port=8848},error=unknown

2021-08-08 17:50:04.487  WARN 1 --- [           main] io.undertow.websockets.jsr               : UT026010: Buffer pool was not set on WebSocketDeploymentInfo, the default pool will be used

2021-08-08 17:50:04.523  INFO 1 --- [           main] io.undertow.servlet                      : Initializing Spring embedded WebApplicationContext

2021-08-08 17:50:04.524  INFO 1 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 12107 ms

2021-08-08 17:50:06.021  WARN 1 --- [           main] c.n.c.sources.URLConfigurationSource     : No URLs will be polled as dynamic configuration sources.

2021-08-08 17:50:06.022  INFO 1 --- [           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.

2021-08-08 17:50:06.073  INFO 1 --- [           main] c.netflix.config.DynamicPropertyFactory  : DynamicPropertyFactory is initialized with configuration sources: com.netflix.config.ConcurrentCompositeConfiguration@9ed0e9a7

2021-08-08 17:50:06.649  INFO 1 --- [t.remote.worker] com.alibaba.nacos.common.remote.client   : [config-0-67773072-708a-4c54-9bd9-6727259c11ba] fail to connect server,after trying 4 times, last try server is {serverIp='192.168.1.133', server main port=8848},error=unknown

2021-08-08 17:50:08.619  INFO 1 --- [           main] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource

2021-08-08 17:50:10.163  INFO 1 --- [t.remote.worker] com.alibaba.nacos.common.remote.client   : [config-0-67773072-708a-4c54-9bd9-6727259c11ba] fail to connect server,after trying 5 times, last try server is {serverIp='192.168.1.133', server main port=8848},error=unknown

2021-08-08 17:50:11.307 ERROR 1 --- [           main] com.alibaba.druid.pool.DruidDataSource   : init datasource error, url: ${blade.datasource.test.url}


java.sql.SQLException: connect error, url ${blade.datasource.test.url}, driverClass com.mysql.cj.jdbc.Driver

at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1722) ~[druid-1.2.5.jar!/:1.2.5]

at com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:915) ~[druid-1.2.5.jar!/:1.2.5]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_262]

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_262]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_262]

at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_262]

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1920) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1862) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1790) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:594) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractBeanFactory$$Lambda$136/000000006C95EE30.getObject(Unknown Source) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1307) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1227) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:886) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:790) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:228) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1356) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1203) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:556) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractBeanFactory$$Lambda$136/000000006C95EE30.getObject(Unknown Source) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.DefaultListableBeanFactory.addCandidateEntry(DefaultListableBeanFactory.java:1525) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1489) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveMultipleBeans(DefaultListableBeanFactory.java:1378) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1265) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1227) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1420) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractBeanFactory$$Lambda$136/000000006C95EE30.getObject(Unknown Source) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:409) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1336) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1176) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:556) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractBeanFactory$$Lambda$136/000000006C95EE30.getObject(Unknown Source) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1307) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1227) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:886) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:790) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:228) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1356) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1203) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:556) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractBeanFactory$$Lambda$136/000000006C95EE30.getObject(Unknown Source) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:897) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:879) [spring-context-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:551) [spring-context-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141) [spring-boot-2.2.13.RELEASE.jar!/:2.2.13.RELEASE]

at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:747) [spring-boot-2.2.13.RELEASE.jar!/:2.2.13.RELEASE]

at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:405) [spring-boot-2.2.13.RELEASE.jar!/:2.2.13.RELEASE]

at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) [spring-boot-2.2.13.RELEASE.jar!/:2.2.13.RELEASE]

at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:140) [spring-boot-2.2.13.RELEASE.jar!/:2.2.13.RELEASE]

at org.springblade.core.launch.BladeApplication.run(BladeApplication.java:50) [blade-core-launch-2.8.1.RELEASE.jar!/:na]

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

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_262]

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_262]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_262]

at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_262]

at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48) [app.jar:na]

at org.springframework.boot.loader.Launcher.launch(Launcher.java:87) [app.jar:na]

at org.springframework.boot.loader.Launcher.launch(Launcher.java:51) [app.jar:na]

at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:52) [app.jar:na]


2021-08-08 17:50:11.411 ERROR 1 --- [           main] com.alibaba.druid.pool.DruidDataSource   : {dataSource-1} init error


java.sql.SQLException: connect error, url ${blade.datasource.test.url}, driverClass com.mysql.cj.jdbc.Driver

at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1722) ~[druid-1.2.5.jar!/:1.2.5]

at com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:915) ~[druid-1.2.5.jar!/:1.2.5]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_262]

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_262]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_262]

at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_262]

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1920) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1862) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1790) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:594) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractBeanFactory$$Lambda$136/000000006C95EE30.getObject(Unknown Source) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1307) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1227) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:886) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:790) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:228) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1356) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1203) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:556) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractBeanFactory$$Lambda$136/000000006C95EE30.getObject(Unknown Source) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.DefaultListableBeanFactory.addCandidateEntry(DefaultListableBeanFactory.java:1525) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1489) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveMultipleBeans(DefaultListableBeanFactory.java:1378) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1265) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1227) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1420) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.AbstractBeanFactory$$Lambda$136/000000006C95EE30.getObject(Unknown Source) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) [spring-beans-5.2.12.RELEASE.jar!/:5.2.12.RELEASE]

2条回答
  • 2021-08-09 12:07

    解决了,是自己的问题,网络IP没有分配好;

    1 讨论(1)
  • 2023-02-22 18:34

    怎么解决的,我也遇到同样问题了

    0 讨论(0)
提交回复