java.lang.NoSuchMethodError: javax.servlet.ServletContext.getContextPath()Ljava/lang/String;

sivalabs.in | 4 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    SpringMVC3 Hibernate CRUD Sample Application - SivaLabs

    sivalabs.in | 4 months ago
    java.lang.NoSuchMethodError: javax.servlet.ServletContext.getContextPath()Ljava/lang/String;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      javax.servlet.ServletContext.getContextPath()Ljava/lang/String;

      at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext()
    2. Spring MVC
      FrameworkServlet.initServletBean
      1. org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:431)
      2. org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:459)
      3. org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:340)
      4. org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:307)
      4 frames