From: <php...@li...> - 2006-09-20 07:48:22
|
Hi, I'm attempting to convert the doubleclick.com DART Java API to a PEAR class using the following command. java -jar JavaBridge.jar --convert /workspace/triad/lib/pear /workspace/triad/lib/java/dartapi/dartapi.jar Here is the error. java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/exolab/castor/xml/ValidationException at php.java.bridge.Standalone.init(Standalone.java:167) at php.java.bridge.Standalone.main(Standalone.java:194) Caused by: java.lang.NoClassDefFoundError: org/exolab/castor/xml/ValidationException at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2395) at java.lang.Class.privateGetPublicMethods(Class.java:2519) at java.lang.Class.getMethods(Class.java:1406) at php.java.bridge.Snarf.writeProcedures(Snarf.java:176) at php.java.bridge.Snarf.writeClass(Snarf.java:284) at php.java.bridge.Snarf.writeClass(Snarf.java:194) at php.java.bridge.Snarf.run(Snarf.java:142) at php.java.bridge.Snarf.main(Snarf.java:62) at php.java.bridge.Standalone.checkOption(Standalone.java:115) at php.java.bridge.Standalone.init(Standalone.java:142) ... 1 more I chatted with the guys in #java on chat.freenode.net and they told me the error was that I was missing the castor lib from (castor.org). I downloaded this and placed it in /usr/share/java/ext as suggested by the README. Restarted apache and I still receive this error. Does anyone have any idea how to fix this? Best Regards, AJ Tarachanowicz II |