mace-opensaml-users - java-xmltooling build issue
Subject: OpenSAML user discussion
List archive
- From: "Paul Hethmon" <>
- To: <>
- Subject: java-xmltooling build issue
- Date: Tue, 19 Dec 2006 12:25:41 -0800
Ok, I wasn't sure
whether to post this or not, but in starting to use some of the opensaml
libraries, I ran into a build problem with java-xmltooling. The particular error
was thrown on the compile of org.opensaml.xml.security.X509Util.java at line
206. The javac error was to the effect of:
No unique
maximal instance exists for type variable ...
refering to
<KeyType>. In reading about a similar problem on the Sun Java forums, the
solution was simply to add a cast. So from:
return
getKey(new FileInputStream(keyFile), passphrase);
to
return
(KeyType) getKey(new FileInputStream(keyFile), passphrase);
This is using
revision 247 of that file and 251 of the project itself.
thanks,
Paul
Paul
Hethmon
Chief Software
Architect
Clareity™ Security
SAFEMLS™ Security Education, Consulting
and Solutions
work: 865.769.0456
cell: 865.250.3517
- java-xmltooling build issue, Paul Hethmon, 12/19/2006
- Re: java-xmltooling build issue, Chad La Joie, 12/19/2006
- RE: java-xmltooling build issue, Scott Cantor, 12/19/2006
- RE: java-xmltooling build issue, Paul Hethmon, 12/19/2006
- Re: java-xmltooling build issue, Chad La Joie, 12/24/2006
Archive powered by MHonArc 2.6.16.