new v3 snapshot

Andri Lareida lareida at ifi.uzh.ch
Wed Oct 31 12:29:11 EDT 2012


Am 31.10.2012 17:06, schrieb Tom Zeller:
>> Somewhere this org/opensaml/xml/XMLObjectBuilder must come from, although I
>> can't find it anywhere.
> Not sure either, but if you do find a reference to it, I believe it
> should be org/opensaml/core/xml/XMLObjectBuilder instead.
> --
> To unsubscribe from this list send an email to dev-unsubscribe at shibboleth.net
>

I tried to narrow it down, I got to the 
"org.opensaml.core.xml.config.XMLConfigurator" class where the 
"org.opensaml.saml1.core.impl.ActionBuilder" is loaded
className="org.opensaml.saml1.core.impl.ActionBuilder" tells me the 
debugger.

             // TODO switch to thread context class loader, this seems 
more correct. Need to test and verify.
             // ClassLoader classLoader = this.getClass().getClassLoader();
             ClassLoader classLoader = 
Thread.currentThread().getContextClassLoader();
331     Class clazz = classLoader.loadClass(className);

So the class loader should load the ActionBuilder class but instead 
fails with the same exception:

Exception in thread "main" java.lang.NoClassDefFoundError: 
org/opensaml/xml/XMLObjectBuilder
.....


Can it be that the XMLObjectBuilder is referenced somewhere in the 
ActionBuilder?




More information about the dev mailing list