-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all!
We reactivated a Cocoon-based project that I haven't touched for a while, and I try to get Cocoon (and that project) running on my notebook. Included in this project is a custom generator, and this seems to be a bit of a problem. On the development server, all is running fine, but as soon as I add the custom generator to the sitemap on my notebook, I get the following error: org.apache.cocoon.ProcessingException: Error compiling sitemap: java.lang.NoClassDefFoundError: org/apache/cocoon/generation/AbstractGenerator Our custom generator extends AbstractGenerator, but why can't Cocoon find it? On our server, there's no problem with the custom generator. (The rest of cocoon is running excellent, as is everything else I modified. It's just the mention of the generator) The server is running on cocoon-2.0.3, I'm using 2.0.4 (Source distribution) on my notebook. All in all, I'm running: Linux Tomcat 4.0.4 Cocoon 2.0.4 (the binary distribution) j2sdk1.4.1_01 First, I built Cocoon with ./build.sh -Dinclude.webapp.libs=yes -Dinstall.war=$TOMCAT_HOME/webapps webapp Then, I copied it to /tomcat/webapps I copied the following files to tomcat/common/lib: xalan-2.3.1.jar xercesImpl-2.0.0.jar these two where present: xercesImpl.jar xmlParserAPIs.jar I copied the following files to jdk1.4-home/jre/endorsed: xalan-2.3.1.jar xercesImpl-2.0.0.jar xml-apis.jar The jar with our custom generator is in cocoon/WEB-INF/lib and tomcat/common/lib I've been fiddling around with this the whole day, and obviously I've forgotten something. I hope anyone can help me, and that this mail makes any sense (after 13 hours of copying, deleting and modifying files on a 12"-screen), rick ps: In my desperation, I even tried copying the complete cocoon-directory from our server, but the error is exactly the same. - -- |- | peter riegersperger <[EMAIL PROTECTED]> |- | ein windows switcher tagebuch: | http://forum.subnet.at/viewforum.php?f=22 |- | subnet | platform for media art and experimental technologies |- | http://www.subnet.at/ |- | muehlbacherhofweg 5 // 5020 salzburg // austria |- | fon/fax +43/662/842 897 |- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+RCqZIMP39JYOy9IRAprvAJ0VZEyUTXWrsZyf7fu2xYFLgQTY4wCgnMjo 8a1+kufRaUL4Jgv2FwizdCk= =mXC4 -----END PGP SIGNATURE----- --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>