java - ClassNotFoundException for TestApp when I start hazelcast/bin/run.bat -
i started exploring hazelcast today downloaded hazelcast-2.0 site, , following screencast provided in site. went bin directory , started run.bat command prompt.
i getting classnotfoundexception
. can please let me know have went wrong?
caused by: java.lang.classnotfoundexception: com.hazelcast.examples.testapp @ java.net.urlclassloader$1.run(unknown source) @ java.security.accesscontroller.doprivileged(native method) @ java.net.urlclassloader.findclass(unknown source) @ java.lang.classloader.loadclass(unknown source) @ sun.misc.launcher$appclassloader.loadclass(unknown source) @ java.lang.classloader.loadclass(unknown source)
as noted in duffymo's comment, there problem in .bat file adds following classpath ../lib/hazelcast-${project.version}.jar
.
just replace ${project.version}
version number downloaded, or check correct jar name lib directory , should work properly.
Comments
Post a Comment