problem in loading class from 'me.prettyprint.hector.api.Serializer'
Posted
by
dhananjay patil
on Stack Overflow
See other posts from Stack Overflow
or by dhananjay patil
Published on 2011-01-08T08:50:19Z
Indexed on
2011/01/08
8:53 UTC
Read the original article
Hit count: 334
java
I have created executable jar but having some problem with Class not found Exception. When I type command: java -jar JarFileName.jar arguments.. I get error message, Exception in thread "main" java.lang.NoClassDefFoundError: me/prettyprint/hector/api/Serializer at com.ensarm.niidle.web.scraper.NiidleScrapeManager.main(NiidleScrapeManager.java:21) Caused by: java.lang.ClassNotFoundException: me.prettyprint.hector.api.Serializer at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
... 1 more
please tell me solution for this,class is not getting loaded from the external jar
© Stack Overflow or respective owner