Peter Johnson wrote:The first ERROR message is the important one - let's fix that first and see if the rest of the errors go away. The ServletContext class appears to be wrong. Look though the -verbose:class output for that class and tell us where it got loaded from.
I looked in 4.0.5 - the getContextPath method returns a ContextPath object but in both 4.2.3 and 5.0.0 the same method returns a String. So my guess is that there is an older copy of the servlet API JAR file somewhere that is getting picked up.