The was when you use Tomcat 5.5 because the servlet-api is 2.4 Version of servlet
therefore when the following method javax.servlet.ServletContext.getContextPath()Ljava/lang/String; is called
you get an exception.
The current SNAPSHOT of Petals Webconsole is based on:
<!-- J2EE API dependencies -->
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-servlet_2.5_spec</artifactId>
<version>1.2</version>
<!-- Provided by the application server -->
<scope>provided</scope>
</dependency>
And Tomcat 5.5 only has 2.4 Version and not the 2.5 Servlet Specification Version
Use Tomcat 6.x because the 2.5 servlet-api is used.
Concretely, following the evolution of the J2EE servlet API, Tomcat 5.5 isn't longer supported
Tomcat 6? Okay! I'm going to switch on and test: thanks!