elastic-job-lite連接zookeeper的若干異常問題

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包衝突。

解決辦法:

在elastic-job-lite-cor

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章