From: <php...@li...> - 2010-07-12 07:20:59
|
Hi Marc, I think you've lost it. I admit that the java class loading mechanism is hard to understand. But this definitely sounds like a class path problem. > I should think the Common class loader would be able to find > the class file for php.java.servlet.fastcgi.FastCGIServlet If the common class loader loads any classes referring to the servlet API, I'd expect such errors, yes. Please see our FAQ entry "Why do I get a NoClassDefFoundError?" at http://php-java-bridge.sourceforge.net/pjb/FAQ.html > /usr/share/tomcat6/lib Remove it. The entire tomcat installation. And remove all "Java" files from your system. Download the original tomcat from tomcat.apache.org (any version). Download Java from Oracle. Install them. Then please follow the installation instructions from http://php-java-bridge.sourceforge.net/pjb/tomcat6.php. Remember to *move* the libraries over to the tomcat lib dir. A *copy* operation from one class path to the other will cause the problems you've described. Please see our FAQ "Why do I get a NoClassDefFoundError?" at http://php-java-bridge.sourceforge.net/pjb/FAQ.html Regards, Jost Bökemeier |