I wanted to see the new developments in Cocoon 2.2, so today I checked out the 
trunk (revision 407982) with Subversion and built it with Maven. After getting 
a succes build message, I copied the the file cocoon-webapp.war to the webapps 
directory of my Apache Tomcat 5.0.28 installation and started the service.

I pointed my browser to http://localhost:8080/cocoon-webapps. But instead of 
the welcome page I got a HTTP 500 error message containing a 
java.lang.NoClassDefFoundError exception, without a class name. The message in 
the logs was more clear, it contained the following line:

java.lang.NoSuchMethodError: 
org.apache.avalon.framework.configuration.DefaultConfiguration.<init>(Ljava/lang/String;)V

By checking the cocoon-webapp\lib directory I found that this class occurred in 
two archives, avalon-framework-4.0.jar and avalon-framework-impl-4.3.jar.

After deleting the first file and restarting Tomcat, the right class file was 
loaded and the problem dissappeared.

As I found no mention of this in de mail lists, is it a bug or did I forgot 
something during the build process?


Ronald Borman


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to