Skip to Content.
Sympa Menu

mace-opensaml-users - xmltooling - ClassNotFoundException

Subject: OpenSAML user discussion

List archive

xmltooling - ClassNotFoundException


Chronological Thread 
  • From: Asa Hardcastle <>
  • To:
  • Subject: xmltooling - ClassNotFoundException
  • Date: Tue, 27 Mar 2007 17:52:39 -0400

Hi All,

I am very new to the java-xmltooling library and I am working my way through the test code, writing my own tests as I go. I have successfully build java-xmltooling from the commandline using the ant.sh script and have placed the result in my class path.

In a separate project I've created a set of objects for XML document "MyDay." I can load and unmarshall using the default Provider (DEFAULT) in my xmltooling-config.xml file, but as soon as I attempt to use a specific provider that references the classes I've made (MyDayXMLObjectBuilder, MyDayXMLObjectMarshaller, MyDayXMLObjectUnmarshaller) the URLClassLoader cannot find them.

XMLConfigurator#createClassInstance Can not create instance of PATH TO MY CLASS HERE

I am Running my class as a JUnit Test using eclipse. Is this the problem? What can I do? I noticed that the same behavior shows up if I use "Run As > JUnit Test" on UnmarshallingTest



thanks in advance,

asa



Archive powered by MHonArc 2.6.16.

Top of Page