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: Chad La Joie <>
  • To:
  • Subject: Re: [OpenSAML] Problem Setting up OpenSAML in Eclipse
  • Date: Mon, 02 Nov 2009 06:02:38 +0100
  • Organization: SWITCH

Is eclipse using a different version? If it's loaded first then that is the one that will be used.

Suneet Shah wrote:
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>


--
SWITCH
Serving Swiss Universities
--------------------------
Chad La Joie, Software Engineer, Net Services
Werdstrasse 2, P.O. Box, 8021 Zürich, Switzerland
phone +41 44 268 15 75, fax +41 44 268 15 68
,
http://www.switch.ch




Archive powered by MHonArc 2.6.16.

Top of Page