mhd0502 opened a new issue, #2402:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2402

   version:
   
![b6bf74f4-d8f5-492d-b2e9-98e28b29f678](https://github.com/user-attachments/assets/3ba1fc12-c19d-4cee-97c5-0fa606044337)
   config:
   
![b7c9e727-5860-4b0b-ac57-7a29eecda8dc](https://github.com/user-attachments/assets/0d06ccb2-2283-4148-802c-7e02674b308a)
   logs:
   `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 
java.lang.IllegalArgumentException: connectionString cannot be null or empty
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1786)
 ~[spring-beans-5.3.9.jar:5.3.9]
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:602)
 ~[spring-beans-5.3.9.jar:5.3.9]
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:524)
 ~[spring-beans-5.3.9.jar:5.3.9]
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
 ~[spring-beans-5.3.9.jar:5.3.9]
        at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
 ~[spring-beans-5.3.9.jar:5.3.9]
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
 ~[spring-beans-5.3.9.jar:5.3.9]
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
 ~[spring-beans-5.3.9.jar:5.3.9]
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:944)
 ~[spring-beans-5.3.9.jar:5.3.9]
        at 
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
 ~[spring-context-5.3.9.jar:5.3.9]
        at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
 ~[spring-context-5.3.9.jar:5.3.9]
        at 
org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:144)
 ~[spring-boot-2.4.10.jar:2.4.10]
        at 
org.springframework.boot.SpringApplication.refresh(SpringApplication.java:771) 
[spring-boot-2.4.10.jar:2.4.10]
        at 
org.springframework.boot.SpringApplication.refresh(SpringApplication.java:763) 
[spring-boot-2.4.10.jar:2.4.10]
        at 
org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:438)
 [spring-boot-2.4.10.jar:2.4.10]
        at 
org.springframework.boot.SpringApplication.run(SpringApplication.java:339) 
[spring-boot-2.4.10.jar:2.4.10]
        at 
org.springframework.boot.SpringApplication.run(SpringApplication.java:1329) 
[spring-boot-2.4.10.jar:2.4.10]
        at 
org.springframework.boot.SpringApplication.run(SpringApplication.java:1318) 
[spring-boot-2.4.10.jar:2.4.10]
        at 
org.moreyou.scmportalbiddingjob.ScmPortalBiddingJobApplication.main(ScmPortalBiddingJobApplication.java:10)
 [classes/:na]
   Caused by: java.lang.IllegalArgumentException: connectionString cannot be 
null or empty
        at 
org.apache.curator.shaded.com.google.common.base.Preconditions.checkArgument(Preconditions.java:141)
 ~[curator-client-5.1.0.jar:na]
        at 
org.apache.curator.ensemble.fixed.FixedEnsembleProvider.<init>(FixedEnsembleProvider.java:55)
 ~[curator-client-5.1.0.jar:na]
        at 
org.apache.curator.ensemble.fixed.FixedEnsembleProvider.<init>(FixedEnsembleProvider.java:43)
 ~[curator-client-5.1.0.jar:na]
        at 
org.apache.curator.framework.CuratorFrameworkFactory$Builder.connectString(CuratorFrameworkFactory.java:230)
 ~[curator-framework-5.1.0.jar:5.1.0]
        at 
org.apache.shardingsphere.elasticjob.reg.zookeeper.ZookeeperRegistryCenter.init(ZookeeperRegistryCenter.java:73)
 ~[elasticjob-registry-center-3.0.1.jar:3.0.1]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
~[na:1.8.0_144]
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
~[na:1.8.0_144]
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[na:1.8.0_144]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_144]
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1912)
 ~[spring-beans-5.3.9.jar:5.3.9]
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1854)
 ~[spring-beans-5.3.9.jar:5.3.9]
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1782)
 ~[spring-beans-5.3.9.jar:5.3.9]
        ... 17 common frames omitted
   
   
   Process finished with exit code 1
   `


-- 
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.

To unsubscribe, e-mail: 
[email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to