mace-opensaml-users - SAMLAssertion.toString() - (Please read this one, Apologies for sending the previous incomplete one)
Subject: OpenSAML user discussion
List archive
SAMLAssertion.toString() - (Please read this one, Apologies for sending the previous incomplete one)
Chronological Thread
- From: "Jake Wu" <>
- To: <>
- Subject: SAMLAssertion.toString() - (Please read this one, Apologies for sending the previous incomplete one)
- Date: Sun, 27 Mar 2005 23:50:43 +0100
Hi,
When I am building a SAMLAssertion object, and try to call
SAMLAssertion.toString() to print it out. However I am always
encountering this error message,
Exception in thread "main" java.lang.NoSuchMethodError:
javax.xml.parsers.DocumentBuilderFactory.setSchema(Ljavax/xml/validation
/Schema;)V
at org.opensaml.XML$ParserPool.get(Unknown Source)
at org.opensaml.XML$ParserPool.get(Unknown Source)
at org.opensaml.XML$ParserPool.newDocument(Unknown Source)
at org.opensaml.SAMLObject.toDOM(Unknown Source)
at org.opensaml.SAMLSignedObject.toDOM(Unknown Source)
at org.opensaml.SAMLObject.toDOM(Unknown Source)
at org.opensaml.SAMLObject.toStream(Unknown Source)
at org.opensaml.SAMLObject.toString(Unknown Source)
at mytest.main(mytest.java:108)
However, javax.xml.parsers.DocumentBuilderFactory.setSchema(Schema) is
found in the jre library (I am using 1.5.0_01). So what might be the
problems?
Thanks,
Jake
- SAMLAssertion.toString() - (Please read this one, Apologies for sending the previous incomplete one), Jake Wu, 03/27/2005
Archive powered by MHonArc 2.6.16.