Skip to Content.
Sympa Menu

mace-opensaml-users - Re: [OpenSAML] Problem Setting up OpenSAML in Eclipse

Subject: OpenSAML user discussion

List archive

Re: [OpenSAML] Problem Setting up OpenSAML in Eclipse


Chronological Thread 
  • From: Suneet Shah <>
  • To:
  • Subject: Re: [OpenSAML] Problem Setting up OpenSAML in Eclipse
  • Date: Mon, 02 Nov 2009 00:00:44 -0500
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=tYduDddlRmgr8L5YeKTv3/b8PO8wdczEhu4TisUvPVstll0wMaFPglzXHEiAcyZbRA M15pCV2pNxd7K5T3rdGMsYseM3q+jfAzYx268SoJMd1g8CiJCMrPr3k0dH0wFVVXY2Ut OZd3aI9RTC7lraO27XY/gda3Ckn8BVkr5aCgo=

Most of those messages suggest that I should use version 1.5.6 of this library. I did that, but I still get this error.
Also, I notice that in the OpenSAML download, you are using 1.5.8. This error only occurs within Eclipse and not in Tomcat 6.20 when I deploy my app.



Chad La Joie wrote:
And when you search for that error in the mailing list archives or on google what do you find?

Suneet Shah wrote:
Hello:

I am trying to setup a project in eclipse using OpenSAML 2.3. However I getting the following exception with the SLF4J libraries. I am using version 1.5.8 and have included the following dependencies in my maven project. Any thoughts on what I am doing wrong?

Thanks

junit.framework.AssertionFailedError: Exception in constructor: testGoodPasswordAuth (java.lang.IllegalAccessError: tried to access field org.slf4j.impl.StaticLoggerBinder.SINGLETON from class org.slf4j.LoggerFactory
at org.slf4j.LoggerFactory.<clinit>(LoggerFactory.java:60)
at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:155)
at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:131)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)

<dependency>
<groupId>org.opensaml</groupId>
<artifactId>opensaml</artifactId>
<version>2.3.0</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.5.8</version>
</dependency> <dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>
<version>1.5.8</version>
</dependency>




Archive powered by MHonArc 2.6.16.

Top of Page