- From: Joseph M. Reagle Jr. <reagle@w3.org>
- Date: Fri, 06 Jul 2001 08:56:24 -0400
- To: ltng@pg.ebx.com
- Cc: xml-encryption@w3.org
Please direct this question to the software maintainer. At 22:33 7/5/2001, ltng@pg.ebx.com wrote: >I have followed closely all the instructions to try the XMLCipher sample >but I have the following error codes during runtime. I have also placed the >IBMJCE package in my classpath...any help is appreciated. Thanks. > >Lin Tat > >c:\jdk1.3\bin\java.exe XMLCipher config1.xml >Working Directory - C:\cjtan\xss4j\data\xenc\ >Class Path - C:\cjtan;C:\cjtan\xss4j\samples;C:\CJTAN\XSS4J\DATA\XENC;c: >\CJTAN\xerces-1_3_1\samples;C:\cjtan\xerces-1_3_1\xercesSamples.jar;C: >\cjtan\xerces-1_3_1\xerces.jar;C:\cjtan\xss4j\xss4j.jar;C: >\cjtan\xss4j\xml4j.jar;C:\cjtan\xss4j\src.jar;C:\JCE\ibmjce\IBMJCEfw.jar;C: >\JCE\ibmjce\IBMJCEProvider.jar;C:\JCE\ibmjce\local_policy.jar;C: >\JCE\ibmjce\US_export_policy.jar;C:\JDK1.3\LIB\TOOLS.JAR;C:\TEMP;C: >\PANO_JAVA;C:\TMP;.;C:\Kawapro5.0\kawaclasses.zip;c: >\jdk1.3\jre\lib\rt.jar;c:\jdk1.3\jre\lib\i18n.jar >Provider:IBMJCE >java.lang.NoClassDefFoundError: javax/crypto/KeyGeneratorSpi > at java.lang.ClassLoader.defineClass0(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:486) > at >java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111) > at java.net.URLClassLoader.defineClass(URLClassLoader.java:248) > at java.net.URLClassLoader.access$100(URLClassLoader.java:56) > at java.net.URLClassLoader$1.run(URLClassLoader.java:195) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:188) > at java.lang.ClassLoader.loadClass(ClassLoader.java:297) > at java.lang.ClassLoader.loadClass(ClassLoader.java:253) > at javax.crypto.JceSecurity.a(Unknown Source) > at javax.crypto.JceSecurity.a(Unknown Source) > at javax.crypto.KeyGenerator.getInstance(Unknown Source) > at >com.ibm.xml.enc.EncryptionEngine.generateKey(EncryptionEngine.java:194) > at >com.ibm.xml.enc.EncryptionEngine.generateKey(EncryptionEngine.java:164) > at com.ibm.xml.enc.XEncryption.encrypt(XEncryption.java:517) > at com.ibm.xml.enc.XEncryption.encryptAndReplace(XEncryption.java:422) > at com.ibm.xml.enc.XEncryption.encryptAndReplace(XEncryption.java:491) > at com.ibm.xml.enc.XEncryption.encryptAndReplace(XEncryption.java:457) > at XMLCipher._encrypt(XMLCipher.java:159) > at XMLCipher._encrypt(XMLCipher.java:169) > at XMLCipher._encrypt(XMLCipher.java:169) > at XMLCipher.encrypt(XMLCipher.java:109) > at XMLCipher.doCipher(XMLCipher.java:61) > at XMLCipher.main(XMLCipher.java:489) >Exception in thread "main" Process Exit... -- Joseph Reagle Jr. http://www.w3.org/People/Reagle/ W3C Policy Analyst mailto:reagle@w3.org IETF/W3C XML-Signature Co-Chair http://www.w3.org/Signature W3C XML Encryption Chair http://www.w3.org/Encryption/2001/
Received on Friday, 6 July 2001 08:56:28 UTC