That class is included in Xalan. Looks like you are not including xalan.jar in your CLASSPATH.

--Sean


Björn-Peter Tietjens wrote:
Hi,

i would appriciate some help with on eof the examples:

i am trying to run the "xml-security-1_4_3/src_samples/org/apache/xml/security/samples/encryption" Example.

I get an Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/xml/utils/URI$MalformedURIException
   at ...Encrypter.main(Encrypter.java:149)

these are the lines...
...
147    String algorithmURI = XMLCipher.TRIPLEDES_KeyWrap;
148
149    XMLCipher keyCipher = XMLCipher.getInstance(algorithmURI);
...

what am i doing wrong?
thanx for some hint on that.
Cheers
Björn

The whole error message:
Key encryption key stored in file:/home/btietjens/Projekte/workspace/Communicator/kek Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/xml/utils/URI$MalformedURIException
   at de.rbag.util.encryption.Encrypter.main(Encrypter.java:149)
Caused by: java.lang.ClassNotFoundException: org.apache.xml.utils.URI$MalformedURIException
   at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
   at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
   ... 1 more


Reply via email to