Skip to Content.
Sympa Menu

mace-opensaml-users - java-xmltooling build issue

Subject: OpenSAML user discussion

List archive

java-xmltooling build issue


Chronological Thread 
  • 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
http://www.SAFEMLS.com
work: 865.769.0456
cell: 865.250.3517
 
 



Archive powered by MHonArc 2.6.16.

Top of Page