-
Notifications
You must be signed in to change notification settings - Fork 26.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
java.lang.NoSuchFieldError: addr #11428
Comments
检查下 curator 的版本,这个一般都是 zookeeper 的版本有冲突导致的 |
我临时升级了版本,暂时解决了问题,
|
Dubbo 不会传递 zookeeper / curator 的依赖,这个是用户自己选择的。目前 curator 4.x / 5.x 和 zookeeper > 3.4.x 都是全系列支持的。 |
curator 4.3.0 应该是可以用的,主要是 zookeeper 的版本 |
dubbo-dependencies-zookeeper-curator5。不是为了适应高版本zookeeper而做的依赖吗?我使用的就是zookeeper较高版本,因此依赖的是 dubbo-dependencies-zookeeper-curator5 而不是 dubbo-dependencies-zookeeper-curator |
看了下应该是 dependentbot 升级 curator 依赖的时候错误升级了 curator5 模块的导致的 |
Will be fixed in #11492 |
thank you |
Environment
Steps to reproduce this issue
java.lang.NoSuchFieldError: addr
at org.apache.curator.framework.imps.EnsembleTracker.configToConnectionString(EnsembleTracker.java:185) ~[curator-framework-4.3.0.jar:4.3.0]
at org.apache.curator.framework.imps.EnsembleTracker.processConfigData(EnsembleTracker.java:206) ~[curator-framework-4.3.0.jar:4.3.0]
at org.apache.curator.framework.imps.EnsembleTracker.access$300(EnsembleTracker.java:50) ~[curator-framework-4.3.0.jar:4.3.0]
at org.apache.curator.framework.imps.EnsembleTracker$2.processResult(EnsembleTracker.java:150) ~[curator-framework-4.3.0.jar:4.3.0]
at org.apache.curator.framework.imps.CuratorFrameworkImpl.sendToBackgroundCallback(CuratorFrameworkImpl.java:883) ~[curator-framework-4.3.0.jar:4.3.0]
at org.apache.curator.framework.imps.CuratorFrameworkImpl.processBackgroundOperation(CuratorFrameworkImpl.java:653) ~[curator-framework-4.3.0.jar:4.3.0]
at org.apache.curator.framework.imps.WatcherRemovalFacade.processBackgroundOperation(WatcherRemovalFacade.java:152) ~[curator-framework-4.3.0.jar:4.3.0]
at org.apache.curator.framework.imps.GetConfigBuilderImpl$2.processResult(GetConfigBuilderImpl.java:222) ~[curator-framework-4.3.0.jar:4.3.0]
at org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:636) ~[zookeeper-3.7.0.jar:3.7.0]
at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:555) ~[zookeeper-3.7.0.jar:3.7.0]
Pls. provide [GitHub address] to reproduce this issue.
MultipleAddresses does not contain getAddress()
Expected Behavior
Actual Behavior
If there is an exception, please attach the exception trace:
The text was updated successfully, but these errors were encountered: