AwordArrive opened a new issue #1779:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1779
## 依赖
<dependency>
<groupId>org.apache.shardingsphere.elasticjob</groupId>
<artifactId>elasticjob-lite-spring-boot-starter</artifactId>
<version>3.0.0-alpha</version>
</dependency>
## zookeeper version
3.6.2
## Exception description

org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'zookeeperRegistryCenter' defined in class path resource
[org/apache/shardingsphere/elasticjob/lite/spring/boot/reg/ElasticJobRegistryCenterConfiguration.class]:
Invocation of init method failed; nested exception is
org.apache.shardingsphere.elasticjob.reg.exception.RegException:
org.apache.zookeeper.KeeperException$OperationTimeoutException: KeeperErrorCode
= OperationTimeout
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1794)
~[spring-beans-5.2.8.RELEASE.jar:5.2.8.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:594)
~[spring-beans-5.2.8.RELEASE.jar:5.2.8.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)
~[spring-beans-5.2.8.RELEASE.jar:5.2.8.RELEASE]
at
org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324)
~[spring-beans-5.2.8.RELEASE.jar:5.2.8.RELEASE]
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:226)
~[spring-beans-5.2.8.RELEASE.jar:5.2.8.RELEASE]
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
~[spring-beans-5.2.8.RELEASE.jar:5.2.8.RELEASE]
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
~[spring-beans-5.2.8.RELEASE.jar:5.2.8.RELEASE]
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:897)
~[spring-beans-5.2.8.RELEASE.jar:5.2.8.RELEASE]
at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:879)
~[spring-context-5.2.8.RELEASE.jar:5.2.8.RELEASE]
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:551)
~[spring-context-5.2.8.RELEASE.jar:5.2.8.RELEASE]
at
org.springframework.boot.SpringApplication.refresh(SpringApplication.java:758)
[spring-boot-2.3.3.RELEASE.jar:2.3.3.RELEASE]
at
org.springframework.boot.SpringApplication.refresh(SpringApplication.java:750)
[spring-boot-2.3.3.RELEASE.jar:2.3.3.RELEASE]
at
org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397)
[spring-boot-2.3.3.RELEASE.jar:2.3.3.RELEASE]
at
org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
[spring-boot-2.3.3.RELEASE.jar:2.3.3.RELEASE]
at
org.springframework.boot.SpringApplication.run(SpringApplication.java:1237)
[spring-boot-2.3.3.RELEASE.jar:2.3.3.RELEASE]
at
org.springframework.boot.SpringApplication.run(SpringApplication.java:1226)
[spring-boot-2.3.3.RELEASE.jar:2.3.3.RELEASE]
at
com.example.elasticjob.ElasticjobApplication.main(ElasticjobApplication.java:10)
[classes/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
~[na:1.8.0_181]
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
~[na:1.8.0_181]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[na:1.8.0_181]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_181]
at
org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
[spring-boot-devtools-2.3.3.RELEASE.jar:2.3.3.RELEASE]
Caused by: org.apache.shardingsphere.elasticjob.reg.exception.RegException:
org.apache.zookeeper.KeeperException$OperationTimeoutException: KeeperErrorCode
= OperationTimeout
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]