Hi Liviu, Liviu wrote:
> Hi all, > > I'm having the same problem, using xstream-1.4.2 (just switched from > java.beans.XMLEncoder/XMLDecoder): > > Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: > org/ xmlpull/v1/XmlPullParserException > at com.thoughtworks.xstream.XStream.<init>(XStream.java:336) > .... > Caused by: java.lang.ClassNotFoundException: > org.xmlpull.v1.XmlPullParserException > at java.net.URLClassLoader$1.run(Unknown Source) > ... > > The exception occurs right on constructor: > XStream xstream = new XStream(); > > > I tried to follow the tutorial from > http://xstream.codehaus.org/tutorial.html and I also read the FAQ as Jörg > suggested; I added xstream, xpp, kxml2 and xmlpull (in variuos > combinations :) ) to the build path (I'm using Ecplise) but with no > success. > > I spent half a day googling around... what am I missing? You miss the dependency to xmlpull. Sorry, but I cannot say something else. This is what the error indicates. - Jörg --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
