Eric Evans created CASSANDRA-4566:
-------------------------------------
Summary: test-clientutil target is failing
Key: CASSANDRA-4566
URL: https://issues.apache.org/jira/browse/CASSANDRA-4566
Project: Cassandra
Issue Type: Bug
Components: Packaging, Tools
Affects Versions: 1.2.0
Reporter: Eric Evans
Priority: Blocker
The {{test-clientutil}} target is failing (on trunk at least):
{noformat}
[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)
{noformat}
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).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira