elastic-job-lite连接zookeeper的若干异常问题

邬宏扬
2023-12-01

1. Elastic-job-lite应用启动后,报错:

Description:

An attempt was made to call the method org.apache.curator.CuratorZookeeperClient.startAdvancedTracer(Ljava/lang/String;)Lorg/apache/curator/drivers/OperationTrace; but it does not exist. Its class, org.apache.curator.CuratorZookeeperClient, is available from the following locations:

    jar:file:/E:/Program%20Files/apache-maven-3.3.9/repository/org/apache/curator/curator-client/2.10.0/curator-client-2.10.0.jar!/org/apache/curator/CuratorZookeeperClient.class

It was loaded from the following location:

    file:/E:/Program%20Files/apache-maven-3.3.9/repository/org/apache/curator/curator-client/2.10.0/curator-client-2.10.0.jar


Action:

Correct the classpath of your application so that it contains a single, compatible version of org.apache.curator.CuratorZookeeperClient

经更换zookeeper服务器,问题依然存在,说明不是zookeeper服务器的问题,继续排查!

 

根据日志推断,是jar

 类似资料: