Pre-check

  • [x] I am sure that all the content I provide is in English.

Search before asking

  • [x] I had searched in the issues and found no similar issues.

Apache Dubbo Component

Java SDK (apache/dubbo)

Dubbo Version

Dubbo-v:3.3.3 JDK-v: 17 zookeepr-v :3.6.4

Steps to reproduce this issue

<dependencies>
  <dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-web</artifactId>
  </dependency>

  <dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-test</artifactId>
    <scope>test</scope>
  </dependency>

  <dependency>
    <groupId>org.apache.dubbo</groupId>
    <artifactId>dubbo-spring-boot-starter</artifactId>
  </dependency>
  <dependency>
    <groupId>org.apache.dubbo</groupId>
    <artifactId>dubbo-zookeeper-curator5-spring-boot-starter</artifactId>
  </dependency>
</dependencies>

application.properties spring.application.name=basc-server server.port=8010

dubbo.application.name=bmc-basc-server dubbo.registry.address=zookeeper://192.168.9.151:2181 dubbo.registry.register-mode=instance dubbo.registry.timeout=100000

run error: 2025-04-26 11:10:57.883 ERROR 36584 --- [ main] o.a.d.c.deploy.DefaultModuleDeployer : [DUBBO] Model start failed: Dubbo Module[1.1.1] start failed: java.lang.RuntimeException: Can not create registry service-discovery-registry://192.168.9.151:2181/org.apache.dubbo.registry.RegistryService?REGISTRY_CLUSTER=default&application=bmc-basc-server&dubbo=2.0.2&executor-management-mode=isolation&file-cache=true&interface=org.apache.dubbo.registry.RegistryService&pid=36584&register=false&register-mode=instance&registry=zookeeper&release=3.3.3&timeout=1000000, dubbo version: 3.3.3, current host: 192.168.1.1, error code: 5-14. This may be caused by , go to https://dubbo.apache.org/faq/5/14 to find instructions.

java.lang.RuntimeException: Can not create registry service-discovery-registry://192.168.9.151:2181/org.apache.dubbo.registry.RegistryService?REGISTRY_CLUSTER=default&application=bmc-basc-server&dubbo=2.0.2&executor-management-mode=isolation&file-cache=true&interface=org.apache.dubbo.registry I can confirm that there are no issues with my Zookeeper network environment,

What you expected to happen

I want to know what the reason is and what I can do to make my Dubbo service start normally

Anything else

No response

Are you willing to submit a pull request to fix on your own?

  • [ ] Yes I am willing to submit a pull request on my own!

Code of Conduct

Comment From: heliang666s

If you use zk upper than 3.4.x, it would be better to use dubbo-dependencies-zookeeper-curator5.@cmmjxh

Comment From: songxiaosheng

Can you post a complete exception