Skip to content
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

mycat 1.6.7.5 初始化数据到zookeeper报错 #2942

Open
lxz902 opened this issue Dec 26, 2023 · 0 comments
Open

mycat 1.6.7.5 初始化数据到zookeeper报错 #2942

lxz902 opened this issue Dec 26, 2023 · 0 comments
Assignees
Labels

Comments

@lxz902
Copy link

lxz902 commented Dec 26, 2023

zookeeper版本:3.9.1、3.5.5
mycat版本:1.6.5
初始化数据到zookeeper报错:
[root@zhang3 bin]# sh init_zk_data.sh
o2023-12-26 18:20:37 INFO JAVA_CMD=/bin/java
o2023-12-26 18:20:37 INFO Start to initialize /mycat of ZooKeeper
Exception in thread "main" java.lang.NoSuchMethodError: com.google.common.util.concurrent.MoreExecutors.sameThreadExecutor()Lcom/google/comm
at org.apache.curator.framework.listen.ListenerContainer.addListener(ListenerContainer.java:41)
at org.apache.curator.framework.imps.CuratorFrameworkImpl.start(CuratorFrameworkImpl.java:257)
at io.mycat.util.ZKUtils.createConnection(ZKUtils.java:62)
at io.mycat.util.ZKUtils.(ZKUtils.java:35)
at io.mycat.config.loader.zkprocess.xmltozk.XmltoZkMain.buildConnection(XmltoZkMain.java:86)
at io.mycat.config.loader.zkprocess.xmltozk.XmltoZkMain.main(XmltoZkMain.java:39)
o2023-12-26 18:20:38 ERROR Something wrong happened, please refer logs above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants