Skip to Content.
Sympa Menu

mace-opensaml-users - Re: [OpenSAML] openSaml and Eclipse

Subject: OpenSAML user discussion

List archive

Re: [OpenSAML] openSaml and Eclipse


Chronological Thread 
  • From: "Anil Saldhana" <>
  • To:
  • Subject: Re: [OpenSAML] openSaml and Eclipse
  • Date: Tue, 16 Sep 2008 09:12:52 -0500
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=YTmv0xNLVLrnuqTsdm7v9t5HVlArl8/022RzuGaY2l7FjC5AYB0AAlgP7wznF+5W7K OfDmC2sNqSGZfkiEPUsVHRM2nJ6cs5lXwkhs3Z+NBBlqA7zxw+anBwQ7VTvAUzFbOWxR STAhpA4W7r5FWabZrKVGr6XjAYEpnvu3Dnb+k=

There is a regression in Maven surefire plugin 2.4.2 where the forked jvm does not get the system properties (so your Java endorsement does not work). This is fixed in v2.4.3 of surefire.

I just spent few hours pulling my hair on this one.
http://anilsaldhana.blogspot.com/2008/09/surefire-plugin-fails-to-do-java.html

FYI for anyone that may face this.

On Tue, Sep 16, 2008 at 8:40 AM, Mazza, Glen R. <> wrote:

John, you'll probably want to look at Mavenizing your projects[1] so you don't need to worry (nearly as much) about dependencies—Maven will take care of it for you.  For your problem below you need a specific logger[2] (you can choose among several) in addition to the opensaml jar.  I use slf4j-jdk14-1.5.2.

 

HTH,

Glen

 

[1] http://www.jroller.com/gmazza/date/20080417 (Creating a Maven project from scratch)

[2] http://www.jroller.com/gmazza/date/20080916 (Step #3 specifically)

 


From: [mailto:] On Behalf Of Bailo, John
Sent: Monday, September 15, 2008 3:15 PM
To:
Subject: RE: [OpenSAML] openSaml and Eclipse

 

What I did instead is to copy all the SAML jars into the \lib folder of my project jar and it seems to work for now (though I wouldn't want to do this every time!).    The servlet now responds, but I get a new error:

 

12:04:46,726 ERROR [[samlpost]] Servlet.service() for servlet samlpost threw exception

java.lang.NoClassDefFoundError: org/slf4j/impl/StaticLoggerBinder

 

In this case, when I look inside the slf4j-api-1.5.0.jar I do not see this class   Org.slf4j.spi does not have a StaticLoggerBinder class.

 

CONFIDENTIALITY NOTICE: The information in this Internet email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized.




Archive powered by MHonArc 2.6.16.

Top of Page