我有一个简短的问题。我想用Apache Vysper
. 但是当我尝试创建服务器时:
XMPPServer server = new XMPPServer("myserver.com");
ClassNotFoundException
尽管该类已正确导入,但我在这条线上得到了一个。
有人可以帮帮我吗?
谢谢 :)
这里的例外:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/vysper/xmpp/server/XMPPServer
at de.seba.vyspertest.App.main(App.java:13)
Caused by: java.lang.ClassNotFoundException: org.apache.vysper.xmpp.server.XMPPServer
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)
... 1 more