Hello guys,
I just downloaded the smack 4.0 and try to run a simple helloworld type problem. On creating XMPPConnection i am getting following error.
Exception in thread "main" java.lang.NoClassDefFoundError: org/xmlpull/v1/XmlPullParserFactoryat org.jivesoftware.smack.SmackConfiguration.processConfigFile(SmackConfiguration. java:321)at org.jivesoftware.smack.SmackConfiguration.processConfigFile(SmackConfiguration. java:316)at org.jivesoftware.smack.SmackConfiguration.<clinit>(SmackConfiguration.java:148) at org.jivesoftware.smack.XMPPConnection.<clinit>(XMPPConnection.java:113)at XMPP_test.main(XMPP_test.java:22)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:43)at java.lang.reflect.Method.invoke(Method.java:601)at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
Well the documentation clearly mention that no additional libraries are required.. I am not sure if I have to add some other libraries.
Thanks.