AnsweredAssumed Answered

Updating Spark to Smack 4.1.8 version

Question asked by wroot Champion on Jul 31, 2016
Latest reply on Aug 2, 2016 by speedy

https://issues.igniterealtime.org/browse/SPARK-1771

 

Have tried to just replace files and readd them in the build path config in Eclipse. It builds, but whentrying to login to a server it stalls on the login process and throws:

 

Exception in thread "Thread-5" java.lang.NoClassDefFoundError: de/measite/minidn

s/DNSCache

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Unknown Source)

at org.jivesoftware.smack.SmackInitialization.loadSmackClass(SmackInitia

lization.java:213)

at org.jivesoftware.smack.SmackInitialization.parseClassesToLoad(SmackIn

itialization.java:193)

at org.jivesoftware.smack.SmackInitialization.processConfigFile(SmackIni

tialization.java:163)

at org.jivesoftware.smack.SmackInitialization.processConfigFile(SmackIni

tialization.java:148)

at org.jivesoftware.smack.SmackInitialization.<clinit>(SmackInitializati

on.java:116)

at org.jivesoftware.smack.SmackConfiguration.getVersion(SmackConfigurati

on.java:96)

at org.jivesoftware.smack.AbstractXMPPConnection.<clinit>(AbstractXMPPCo

nnection.java:97)

at org.jivesoftware.LoginDialog$LoginPanel.login(LoginDialog.java:1033)

at org.jivesoftware.LoginDialog$LoginPanel.access$900(LoginDialog.java:3

08)

at org.jivesoftware.LoginDialog$LoginPanel$3.construct(LoginDialog.java:

842)

at org.jivesoftware.spark.util.SwingWorker.lambda$new$1(SwingWorker.java

:140)

at java.lang.Thread.run(Unknown Source)

Caused by: java.lang.ClassNotFoundException: de.measite.minidns.DNSCache

at java.net.URLClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

... 14 more

Outcomes