From: <php...@li...> - 2008-11-02 11:52:42
|
Hi, > But i AM using a single java_require() call loading all my > libraries ! More importantly each class and all dependencies must be loaded by exactly one class loader. I have updated the FAQ entry, please see: http://php-java-bridge.sf.net/pjb/FAQ.html#java-dll-hell > (I have even tested with a single .jar file containing > everything to be sure...) As long as the depedency is missing or loaded from another loader, you will get this error -- or even a ClassCastException, because the same class loaded via two different loaders creates two assignment-incompatible class instances. Regards, Jost Boekemeier |