AnsweredAssumed Answered

error in using smack jar in CENTOS

Question asked by omid on May 7, 2016

hi

i used smack in sdk 8.1 platform and making a jar file that work very well in windows

But In centos linux   running this command has an error

Java   -jar    robot.jar

Exception in thread "main" java.lang.NoClassDefFoundError: org/jivesoftware/smack/packet/Packet

        at com.javacodegeeks.xmpp.XmppTest.main(XmppTest.java:10)

Caused by: java.lang.ClassNotFoundException: org.jivesoftware.smack.packet.Packet

        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

        ... 1 more

 

in jar file all off smack JARs included but ...

can anyone could help me?

thanx

Attachments

Outcomes