java.lang.NoSuchMethodError: org.springframework.web.servlet.FrameworkServlet.<init>(Lorg/springframework/web/context/WebApplicationContext;)V

Stack Overflow | thunder-103 | 5 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Error while trying to set a Spring Web Service NoSuchMethodError: org.springframework.web.servlet.FrameworkServlet.<init>

    Stack Overflow | 5 months ago | thunder-103
    java.lang.NoSuchMethodError: org.springframework.web.servlet.FrameworkServlet.<init>(Lorg/springframework/web/context/WebApplicationContext;)V

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.springframework.web.servlet.FrameworkServlet.<init>(Lorg/springframework/web/context/WebApplicationContext;)V

      at org.springframework.ws.transport.http.MessageDispatcherServlet.<init>()
    2. Spring WS Core
      MessageDispatcherServlet.<init>
      1. org.springframework.ws.transport.http.MessageDispatcherServlet.<init>(MessageDispatcherServlet.java:178)
      2. org.springframework.ws.transport.http.MessageDispatcherServlet.<init>(MessageDispatcherServlet.java:129)
      2 frames
    3. Java RT
      Class.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:422)
      5. java.lang.Class.newInstance(Class.java:442)
      5 frames
    4. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:119)
      2. org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1102)
      3. org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:828)
      4. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:135)
      5. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
      6. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
      7. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
      8. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
      9. org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
      10. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
      11. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522)
      11 frames
    5. Grizzly HTTP
      NioEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095)
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)
      3. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)
      4. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)
      4 frames
    6. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      2 frames
    7. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      1 frame
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame