OPEN SAML v3 Bug in Maven Snapshot

Andri Lareida lareida at ifi.uzh.ch
Tue Sep 18 03:49:09 EDT 2012


Hello list,

I was looking for an OpenSAML list but I could only find this one. So 
I'm trying my luck here.

We're developing an extension for the IdP v3 and also want to use 
OpenSAML v3. We're using a snapshot version of Open SAML like this:
<repository>
             <id>shib-snapshot</id>
<url>https://build.shibboleth.net/nexus/content/repositories/snapshots</url>
             <releases>
                 <enabled>false</enabled>
             </releases>
</repository>

<dependency>
             <groupId>net.shibboleth.idp</groupId>
             <artifactId>idp-saml-impl</artifactId>
             <version>3.0-SNAPSHOT</version>
             <type>jar</type>
             <optional>false</optional>
</dependency>

The problem is that the service initialization fails, with the following 
error:

java.lang.NoClassDefFoundError: org/opensaml/xml/XMLObjectBuilder
     at java.lang.ClassLoader.findBootstrapClass(Native Method)
     at java.lang.ClassLoader.findBootstrapClassOrNull(ClassLoader.java:1061)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:412)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:410)
     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
     at
org.opensaml.core.xml.config.XMLConfigurator.createClassInstance(XMLConfigurator.java:331)

Chad pointed out that this might be a bug which is already fixed but not deployed to the snapshot repository.
Can you tell me if this is the case? And can anyone do a new snapshot deployment of OpenSAML v3?

Thanks for your input.

Andri




More information about the dev mailing list