Details
-
Bug
-
Status: Resolved
-
Urgent
-
Resolution: Fixed
-
Critical
Description
The test-clientutil target is failing (on trunk at least):
[junit] java.lang.NoClassDefFoundError: org/apache/cassandra/io/IVersionedSerializer [junit] at java.lang.ClassLoader.defineClass1(Native Method) [junit] at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) [junit] at java.lang.ClassLoader.defineClass(ClassLoader.java:615) [junit] at java.lang.ClassLoader.loadClass(ClassLoader.java:247) [junit] at org.apache.cassandra.utils.UUIDGen.<clinit>(UUIDGen.java:38) [junit] at org.apache.cassandra.cql.jdbc.ClientUtilsTest.test(ClientUtilsTest.java:59) [junit] Caused by: java.lang.ClassNotFoundException: org.apache.cassandra.io.IVersionedSerializer [junit] at java.net.URLClassLoader$1.run(URLClassLoader.java:202) [junit] at java.security.AccessController.doPrivileged(Native Method) [junit] at java.net.URLClassLoader.findClass(URLClassLoader.java:190) [junit] at java.lang.ClassLoader.loadClass(ClassLoader.java:306) [junit] at java.lang.ClassLoader.loadClass(ClassLoader.java:247) [junit] at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
This target is to ensure that the clientutil jar has no unsatisfied dependencies. In this case it looks like static initialization is pulling in o.a.c.io.IVersionedSerializer, (probably transitively).