|
From: <php...@li...> - 2008-12-05 18:36:26
|
Hi,
please see our FAQ entry "Why do I get a NoClassDefFoundError?", it isn't very helpful, but it explains what went wrong.
In this particular case is was a packaging error in php-script.jar, which contained an open reference to the servlet classes. There is not problem with this per se, but the INSTALL.J2SE document stated that one should copy php-script.jar to the java.ext.dirs, which leads to trouble because the open reference cannot be resolved; the servlet classes are loaded from a different loader by your J2EE server.
Please either remove the jar file from java.ext.dirs or copy all of your classes to java.ext.dirs.
Since version 5.3 the documentation has been revised and the JSR223 servlet classes have been moved to the php-servlet.jar.
However, the fundamental problem that Java doesn't have a decent module system still exists.
Regards,
Jost Boekemeier
|