codahale/metrics — Issue #163: servlet-api:3.0 getContextPath  AdminServlet
Author: AvihayTsayeg
Created: 2012-02-21 12:20:58+00:00
State: open

Hi,
using tomcat 7 which is using servlet-api:3.0 the visibility of getContextPath() of ServletContext was changed to package level.
at AdminServlet line 80 the follwoing line gets error this.contextPath = context.getContextPath()
java.lang.NoSuchMethodError: javax.servlet.ServletContext.getEffectiveSessionTrackingModes()Ljava/util/Set;

Regards, Avihay