java - Netty class not found exception while executing JAR -


i've made jar file project made, when try execute it, gives:

    exception in thread "main" java.lang.noclassdeffounderror: org/jboss/netty/channel/socket/serversocketchannelfactory @ org.ddosdefense.httpfilter.httpinterceptor.main(httpinterceptor.java:66)     caused by: java.lang.classnotfoundexception: org.jboss.netty.channel.socket.serversocketchannelfactory @ java.net.urlclassloader$1.run(urlclassloader.java:366) @ java.net.urlclassloader$1.run(urlclassloader.java:355) @ java.security.accesscontroller.doprivileged(native method) @ java.net.urlclassloader.findclass(urlclassloader.java:354) @ java.lang.classloader.loadclass(classloader.java:425) @ sun.misc.launcher$appclassloader.loadclass(launcher.java:308) @ java.lang.classloader.loadclass(classloader.java:358) ... 1 more 

inside jar file libraries present. in .classpath file netty jar library present:

    <classpathentry kind="lib" path="ddos2_lib/netty-3.6.2.final.jar"/> 

when execute project in eclipse works perfectly. has idea how solve problem?

thanks in advance!

most don't have jar packaged jar produce or missed specify netty jar via -cp option.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

python - Django-cities exits with "killed" -

python - How to get a widget position inside it's layout in Kivy? -