Hi at all I solved it. Unfortunately, I had forgotten to add the jar(s) to the classpath in the plug-in's plugin.xml (under Runtime). As soon as I did this, everything now works as expected.
Thanks for your help! casaout casaout wrote: > > hi Joe and Vinicius > > Thank you for your answers. > > I can import the XStreamException (import > com.thoughtworks.xstream.XStreamException;) but I can't use it like you > described. Eclipse tells me that "The constructor XStreamException()" is > not visible... > > To clarify: Is it correct, that I only have to include the > xstream-1.4.3.jar-File and add it to the build path? Because when I do > what Vinicius proposes i get the ClassNotFoundException for > com.thoughtworks.xstream.io.HierarchicalStreamDriver. Because in the > normal eclipse test-project (where everything worked fine) I also had to > add xmlpull-1.1.3.1.jar... Therefore, I am thinking that I missed some > libraries? > > Thank you. > > > Joe Walnes-3 wrote: >> >> Can you try one more thing... >> >> Add this line to your code, before the new XStream() line: >> new XStreamException(); >> >> > -- View this message in context: http://old.nabble.com/java.lang.ClassNotFoundException%3A-com.thoughtworks.xstream.XStream-tp34413200p34418155.html Sent from the xstream - user mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
