seata-example-seata-server | 01:38:58.557 ERROR --- [ main] c.a.n.c.config.http.ServerHttpAgent : [NACOS ConnectException httpGet] currentServerAddr:http://127.0.0.1:8848, err : Connection refused (Connection refused)
seata-example-seata-server | 01:38:58.758 ERROR --- [ main] c.a.n.c.config.http.ServerHttpAgent : [NACOS ConnectException httpGet] currentServerAddr:http://127.0.0.1:8848, err : Connection refused (Connection refused)
seata-example-seata-server | 01:38:58.760 ERROR --- [ main] c.a.n.client.config.impl.ClientWorker : [fixed-127.0.0.1_8848-b94cfd49-3743-4bac-b1d3-41dcc2d07070] [sub-server] get server config exception, dataId=store.db.dbType, group=SEATA_GROUP, tenant=b94cfd49-3743-4bac-b1d3-41dcc2d07070
seata-example-seata-server | ==>
seata-example-seata-server | java.net.ConnectException: [NACOS HTTP-GET] The maximum number of tolerable server reconnection errors has been reached
seata-example-seata-server | at com.alibaba.nacos.client.config.http.ServerHttpAgent.httpGet(ServerHttpAgent.java:125)
seata-example-seata-server | at com.alibaba.nacos.client.config.http.MetricsHttpAgent.httpGet(MetricsHttpAgent.java:51)
seata-example-seata-server | at com.alibaba.nacos.client.config.impl.ClientWorker.getServerConfig(ClientWorker.java:200)
seata-example-seata-server | at com.alibaba.nacos.client.config.NacosConfigService.getConfigInner(NacosConfigService.java:160)
seata-example-seata-server | at com.alibaba.nacos.client.config.NacosConfigService.getConfig(NacosConfigService.java:100)
seata-example-seata-server | at io.seata.config.nacos.NacosConfiguration.getLatestConfig(NacosConfiguration.java:109)
seata-example-seata-server | at io.seata.config.AbstractConfiguration.getConfig(AbstractConfiguration.java:141)
seata-example-seata-server | at io.seata.config.AbstractConfiguration.getConfig(AbstractConfiguration.java:132)
seata-example-seata-server | at io.seata.config.AbstractConfiguration.getConfig(AbstractConfiguration.java:146)
seata-example-seata-server | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
seata-example-seata-server | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
seata-example-seata-server | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
seata-example-seata-server | at java.lang.reflect.Method.invoke(Method.java:498)
seata-example-seata-server | at io.seata.config.ConfigurationCache.lambda$proxy$1(ConfigurationCache.java:116)
seata-example-seata-server | at io.seata.config.Configuration$$EnhancerByCGLIB$$e11dcb61.getConfig(<generated>)
seata-example-seata-server | at io.seata.server.console.impl.db.BranchSessionDBServiceImpl.<init>(BranchSessionDBServiceImpl.java:64)
seata-example-seata-server | at io.seata.server.console.impl.db.BranchSessionDBServiceImpl$$EnhancerBySpringCGLIB$$41c8ca8c.<init>(<generated>)
seata-example-seata-server | at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
seata-example-seata-server | at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
seata-example-seata-server | at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
seata-example-seata-server | at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
seata-example-seata-server | at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:211)
seata-example-seata-server | at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
seata-example-seata-server | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1326)
seata-example-seata-server | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1232)
seata-example-seata-server | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
seata-example-seata-server | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
seata-example-seata-server | at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
seata-example-seata-server | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
seata-example-seata-server | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
seata-example-seata-server | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
seata-example-seata-server | at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
seata-example-seata-server | at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1380)
seata-example-seata-server | at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1300)
seata-example-seata-server | at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:544)
seata-example-seata-server | at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:520)
seata-example-seata-server | at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:673)
seata-example-seata-server | at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:228)
seata-example-seata-server | at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119)
seata-example-seata-server | at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessProperties(CommonAnnotationBeanPostProcessor.java:329)
seata-example-seata-server | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1431)
seata-example-seata-server | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:619)
seata-example-seata-server | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
seata-example-seata-server | at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
seata-example-seata-server | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
seata-example-seata-server | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
seata-example-seata-server | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
seata-example-seata-server | at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:944)
seata-example-seata-server | at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
seata-example-seata-server | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
seata-example-seata-server | at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:144)
seata-example-seata-server | at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:771)
seata-example-seata-server | at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:763)
seata-example-seata-server | at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:438)
seata-example-seata-server | at org.springframework.boot.SpringApplication.run(SpringApplication.java:339)
seata-example-seata-server | at org.springframework.boot.SpringApplication.run(SpringApplication.java:1329)
seata-example-seata-server | at org.springframework.boot.SpringApplication.run(SpringApplication.java:1318)
seata-example-seata-server | at io.seata.server.ServerApplication.main(ServerApplication.java:30)
seata-example-seata-server | <==
堆栈异常
配置文件
docker-compsoe file
Any idea?