Where to get XPP3 or there is a alternative plan?

Hi all

I’m trying to write a sample code to connect openfire and I use the from code here

when I execute ,it shows an Exception
Exception in thread “main” java.lang.NoClassDefFoundError: org/xmlpull/v1/XmlPullParserFactory

Anyone knows where can I get XmlPullParser(XPP3) or a better one?
I find it from this link (http://www.extreme.indiana.edu/xgws/xsoap/xpp/mxp1/) which is recommended from here (http://download.igniterealtime.org/smack/docs/latest/README.html)

but all the download links does’t work

Thanks for your reply

I recommend to use Smack with a build system that is able to include Maven dependencies, which will automatically resolve all dependencies of Smack. Do not use the Smack jar files directly.


+1 to what Flow says. The world has moved on from downloading JAR files and manually sticking them in your path, the time invested in understanding a modern build tool will pay dividends. My preferred tool right now is Gradle. For your purposes you probably only need a few lines of config to get going.



You can get it from here:


However, as the other two have said, I also recommend to setup a build tool like Maven or Gradle.