curator-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sznajder ForMailingList <bs4mailingl...@gmail.com>
Subject TestingServer use - throws an error
Date Mon, 16 Sep 2013 13:51:29 GMT
Hi

I am running the LeaderSelectorExample class from curator2.1

when using the TestingServer, I get an exception....


Do I need another jar?

thanks!


Exception in thread "main" java.lang.NoClassDefFoundError:
javassist/NotFoundException
    at org.apache.curator.test.TestingServer.<clinit>(TestingServer.java:32)
    at
com.ibm.test.leaderElection.LeaderSelectorExample.main(LeaderSelectorExample.java:46)
Caused by: java.lang.ClassNotFoundException: javassist.NotFoundException
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)

Mime
View raw message