|
From: <php...@li...> - 2008-10-30 17:31:01
|
php...@li... a écrit : > Hi, >> Cause: java.lang.ClassNotFoundException: Unresolved external reference: >> java.lang.NoClassDefFoundError: >> net.sf.jasperreports.engine.xml.JRXmlLoader. -- Unable to call the > please re-read the FAQ entry "Why do I get a NoClassDefFoundError". > Sorry for beeing terse, but this all information I can pass along, as this is really a Java issue. -- Microsoft (.NET) has learned its lession from the windows "dll hell", Sun has not. Thanks Jost, a short answer is way better than none. The faq says : Why do I get a NoClassDefFoundError? Because Java doesn't have a module system. All interconnected libraries must be loaded with a single java_require() call. See the README for details. But i AM using a single java_require() call loading all my libraries ! (I have even tested with a single .jar file containing everything to be sure...) Does it mean that as I compiled JavaBridge as a native php, I can't load some other libraries ? I'm confused. I note too that when even if my .jar libraries are in java.ext.dirs, they are not loaded... Oops ! Ok, I have rebooted the servlet and now, the libraries are loaded automatically. I don't use java_require() anymore. I still have problems, but it's better. I'll come back to the mailing list, either failure or success, in some time. David |