> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 30, 2005 11:43 AM > To: inline@perl.org > Subject: Inline Java Weird Error > > > The resulting error was: > > -------------------------------------------------------------- > -------------------- > > [C:\sonicMQ-Perl]test.pl > java.lang.NoClassDefFoundError: com/rsa/jsafe/JSAFE_Exception > at com.rsa.certj.xml.Transformer.<clinit>(Transformer.java:91) > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Class.java:219)\
[...] > I decompiled the com.rsa.certj.xml.Transformer.class file > with Mocha, and found that there is no reference to > com.rsa.jsafe.JSAFE_Exception in there. That's because it's dynamically constructing the class reference at runtime from a string using Java's Class.forName(String) method. Either that class was mistakenly left out of the Jar, or it's in a different Jar that you need to load, or (not sure based on the error message) it's trying to load a class called "com/rsa/jsafe/JSAFE_Exception" when it should be loading "com.rsa.jsafe.JSAFE_Exception" . -Ken