title: XStream XmlPullParserException
body: <p>I'm trying to use XStream. I've added the XStream executable Jar file to my project.
  Executing the following command:</p>
  
  <pre><code>    XStream xstream = new XStream();
  </code></pre>
  
  <p>Is resulting in the following exception:</p>
  
  <p>Exception in thread "main" java.lang.NoClassDefFoundError: org/xmlpull/v1/XmlPullParserException</p>
  
  <pre><code>at com.thoughtworks.xstream.XStream.&lt;init&gt;(XStream.java:350)
  at xstream_test.XmlTrasformer.objectToXml(XmlTrasformer.java:56)
  at xstream_test.XmlTrasformer.main(XmlTrasformer.java:31)
  </code></pre>
  
  <p>Caused by: java.lang.ClassNotFoundException: org.xmlpull.v1.XmlPullParserException</p>
  
  <pre><code>at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
  at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
  ... 3 more
  </code></pre>
  
  <p>Any idea I might have done wrong?
  Thanks.</p>