Skip to Content.
Sympa Menu

mace-opensaml-users - Re: Help for opensaml 1.1b test

Subject: OpenSAML user discussion

List archive

Re: Help for opensaml 1.1b test


Chronological Thread 
  • From: "William Cai" <>
  • To:
  • Subject: Re: Help for opensaml 1.1b test
  • Date: Fri, 31 Aug 2007 09:14:34 +0800

Zhikui,
Looks like you don't have apache commons logging utility in your classpath according to the stack trace.
Thanks,
William

On 8/30/07, Zhikui CHen <> wrote:
Dear Opensaml guys,
 
I am working for Opensaml 1.1b application for an european research project. But when I test opensaml 1.1b using Eclipse 3.2/3.3, I can not run it using jar lib of opensaml 1.1b. The problem is:
 java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
 at org.apache.xml.security.Init.<clinit>(Init.java:53)
 at org.opensaml.SAMLConfig.<init>(SAMLConfig.java:55)
 at org.opensaml.SAMLConfig.instance(SAMLConfig.java:119)
 at org.opensaml.SAMLObject.<init>(SAMLObject.java:43)
 at org.opensaml.SAMLSignedObject.<init>(SAMLSignedObject.java:47)
 at org.opensaml.SAMLAssertion.<init>(SAMLAssertion.java:59)
 at server.SamlAuthority.test.SamlAuthorityServicetest.testSamlAuthorityService(SamlAuthorityServicetest.java:42)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at junit.framework.TestCase.runTest(TestCase.java:154)
 at junit.framework.TestCase.runBare(TestCase.java:127)
 at junit.framework.TestResult$1.protect(TestResult.java:106)
 at junit.framework.TestResult.runProtected(TestResult.java:124)
 at junit.framework.TestResult.run(TestResult.java:109)
 at junit.framework.TestCase.run(TestCase.java:118)
 at junit.framework.TestSuite.runTest(TestSuite.java:208)
 at junit.framework.TestSuite.run(TestSuite.java:203)
 at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
 at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
 at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
 at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
 at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
 at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
 
If I use source code of opensaml 1.1b to replace the jar file of opensaml1.1b, I get the following problem:
"The jar file xmlsec-20050514 has no source attachment."
 
Could you tell me where I am wrong? Thanks in advance!
 
Best regards,
 
Zhikui Chen
 
Netwroks and communication systems
Computer center, Stuttgart University
 
Allmandring 30, 70550, Stuttgart, Germany
 
Email: ,
Tel: +49-711-68565871
Fax: +49-711-68565832
Msn/Skype: zkchen00




Archive powered by MHonArc 2.6.16.

Top of Page