nebula-contrib/nebula-jdbc

java.lang.NoClassDefFoundError: Could not initialize class com.facebook.thrift.transport.TSocket

xhrwp opened this issue · 3 comments

xhrwp commented

image

nebula-jdbc. version:3.0.0

seems dependence missing, make sure you have download all the maven dependence into the project

+1

version:3.0.0

java.lang.NoClassDefFoundError: Could not initialize class com.facebook.thrift.transport.TSocket
at com.vesoft.nebula.client.graph.net.SyncConnection.open(SyncConnection.java:94)
at com.vesoft.nebula.client.graph.net.RoundRobinLoadBalancer.ping(RoundRobinLoadBalancer.java:87)
at com.vesoft.nebula.client.graph.net.RoundRobinLoadBalancer.updateServersStatus(RoundRobinLoadBalancer.java:73)
at com.vesoft.nebula.client.graph.net.RoundRobinLoadBalancer.isServersOK(RoundRobinLoadBalancer.java:101)
at com.vesoft.nebula.client.graph.net.ConnObjectPool.init(ConnObjectPool.java:93)
at com.vesoft.nebula.client.graph.net.NebulaPool.init(NebulaPool.java:120)
at com.vesoft.nebula.jdbc.NebulaConnection.initNebulaPool(NebulaConnection.java:104)
at com.vesoft.nebula.jdbc.NebulaConnection.(NebulaConnection.java:64)
at com.vesoft.nebula.jdbc.NebulaDriver.connect(NebulaDriver.java:79)

[root]$ java -version
java version "1.8.0_131"

Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class com.facebook.thrift.transport.TSocket
at com.vesoft.nebula.client.graph.net.SyncConnection.open(SyncConnection.java:94)
at com.vesoft.nebula.client.graph.net.RoundRobinLoadBalancer.ping(RoundRobinLoadBalancer.java:87)
at com.vesoft.nebula.client.graph.net.RoundRobinLoadBalancer.updateServersStatus(RoundRobinLoadBalancer.java:73)
at com.vesoft.nebula.client.graph.net.RoundRobinLoadBalancer.isServersOK(RoundRobinLoadBalancer.java:101)
at com.vesoft.nebula.client.graph.net.ConnObjectPool.init(ConnObjectPool.java:93)
at com.vesoft.nebula.client.graph.net.NebulaPool.init(NebulaPool.java:120)
at com.vesoft.nebula.jdbc.NebulaConnection.initNebulaPool(NebulaConnection.java:107)
at com.vesoft.nebula.jdbc.NebulaConnection.(NebulaConnection.java:64)
at com.vesoft.nebula.jdbc.NebulaDriver.connect(NebulaDriver.java:79)
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1652)
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1718)
at com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:915)
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:1389)
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:1385)