AnsweredAssumed Answered

Exception in thread "main" java.lang.ExceptionInInitializerError

Question asked by Yrii on Sep 23, 2015
Latest reply on Apr 5, 2016 by Jim

I add       xmlpull_1_0_5.jar   but get

 

Exception in thread "main" java.lang.ExceptionInInitializerError

  at org.jivesoftware.smack.SmackConfiguration.getVersion(SmackConfiguration.java:96 )

  at org.jivesoftware.smack.ConnectionConfiguration.<clinit>(ConnectionConfiguration .java:38)

  at class_1.main(class_1.java:35)

Caused by: java.lang.IllegalStateException: org.xmlpull.v1.XmlPullParserException: could not load any factory class (even small or full default implementation); nested exception is:

  org.kxml2.io.XmlReader

  at org.jivesoftware.smack.SmackInitialization.<clinit>(SmackInitialization.java:11 9)

  ... 3 more

Caused by: org.xmlpull.v1.XmlPullParserException: could not load any factory class (even small or full default implementation); nested exception is:

  org.kxml2.io.XmlReader

  at org.xmlpull.v1.XmlPullParserFactory.newInstance(XmlPullParserFactory.java:225)

  at org.xmlpull.v1.XmlPullParserFactory.newInstance(XmlPullParserFactory.java:76)

  at org.jivesoftware.smack.SmackInitialization.processConfigFile(SmackInitializatio n.java:153)

  at org.jivesoftware.smack.SmackInitialization.processConfigFile(SmackInitializatio n.java:148)

  at org.jivesoftware.smack.SmackInitialization.<clinit>(SmackInitialization.java:11 6)

Outcomes