mace-opensaml-users - RE: [OpenSAML] Error bootstrapping 2.0.0
Subject: OpenSAML user discussion
List archive
- From: "Bob Jacoby" <>
- To: <>
- Subject: RE: [OpenSAML] Error bootstrapping 2.0.0
- Date: Mon, 18 Aug 2008 16:31:54 -0500
Thanks, Brent. I switched to using 2.1 without any bootstrapping
problems. I think you were right regarding mismatched xml-tooling in the
2.0. I errantly had another version on the path. I didn't test that this
was the problem since I just upgraded to 2.1.
*sigh*
Bob
-----Original Message-----
From: Brent Putman
[mailto:]
Sent: Tuesday, August 12, 2008 4:42 PM
To:
Subject: Re: [OpenSAML] Error bootstrapping 2.0.0
Bob Jacoby wrote:
> I'm using opensaml 2.0.0 (as the readme in the 2.1 line specifically
> stated not to use it in production).
I think this was brought up on the list before, but that was just a
mistake in the README.txt that made it's way into the release
distribution (wasn't updated from the alpha/beta/RC phases). OpenSAML
2.1.0 is a fully supported released version of the software.
> When I configure the library using
> the bootstrap class as shown in
> https://spaces.internet2.edu/display/OpenSAML/OSTwoUsrManJavaLibIntro
I
> get an error (a snippet below, full at end of email):
>
> ERROR XMLConfigurator - Can not create instance of
> org.opensaml.saml2.metadata.impl.EncryptionMethodMarshaller
>
> ...
>
> Caused by: java.lang.NoSuchMethodError:
> org.opensaml.xml.encryption.impl.EncryptionMethodMarshaller: method
> <init>(Ljava/lang/String;Ljava/lang/String;)V not found
> at
>
org.opensaml.saml2.metadata.impl.EncryptionMethodMarshaller.<init>(Encry
> ptionMethodMarshaller.java:28)
>
> I'm not doing anything special; the extent of my entire test case to
> reproduce this contains the following:
>
> try {
> org.opensaml.DefaultBootstrap.bootstrap();
> }
> catch (ConfigurationException ex) {
> throw new RuntimeException(ex);
> }
>
>
That's very strange. This might be caused if you are trying to used the
opensaml-2.0.0.jar with the newer versions of openws and xmltooling from
OpenSAML 2.1.0. I would suggest re-downloading the latest tarball or
zip and making sure you have a consistent set of all 3 libraries in the
OpenSAML stack. That would be:
opensaml-2.1.0.jar
openws-1.1.0.jar
xmltooling-1.0.1.jar
And make sure to remove any other versions of those 3 jars from your
classpath.
--Brent
- Error bootstrapping 2.0.0, Bob Jacoby, 08/11/2008
- Re: [OpenSAML] Error bootstrapping 2.0.0, Brent Putman, 08/12/2008
- RE: [OpenSAML] Error bootstrapping 2.0.0, Bob Jacoby, 08/18/2008
- Re: [OpenSAML] Error bootstrapping 2.0.0, Brent Putman, 08/12/2008
Archive powered by MHonArc 2.6.16.