-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Description
David J. M. Karlsen opened SPR-7044 and commented
java.lang.NoSuchMethodError: javax.servlet.ServletContext.getContextPath()Ljava/lang/String;
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:265)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:196)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548)
getContextPath() is a servlet-spec 2.5 method http://java.sun.com/javaee/5/docs/api/javax/servlet/ServletContext.html#getContextPath%28%29.
I suggest methods are inspected with reflection to verify presence of appropiate method.
Affects: 3.0.1
Referenced from: commits fa719ad