# Springframework Exception

**URL:** <https://discuss.elastic.co/t/springframework-exception/151538>\
**Category:** APM\
**Created:** [October 9, 2018, 12:58am UTC](https://discuss.elastic.co/t/springframework-exception/151538 "2018-10-09T00:58:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Venkat\_Akkireddy](https://avatars.discourse-cdn.com/v4/letter/v/49beb7/32.png) [@Venkat\_Akkireddy](https://discuss.elastic.co/u/Venkat_Akkireddy)\
**Post date:** [October 9, 2018, 12:58am UTC](https://discuss.elastic.co/t/springframework-exception/151538/1 "2018-10-09T00:58:32Z")

</div>

Hi Team,

when we enabled below Elastic Java APM jar our application stops working.

elastic-apm-agent-0.7.0.jar

when we check the Application logs we are seeing the below exceptions. we thought there might be spring jar incompatibility issues.

Then we verified the spring version which is used in elastic APM Jar i.e. 2.0.2.RELEASE, but our application is using the spring version 2.5.6.

Please can you guys fix this ASAP.

SEVERE: Servlet.service() for servlet [springDispatcher] in context with path [] threw exception [Handler processing failed; nested exception is java.lang.NoClassDefFoundError: org/springframework/web/method/HandlerMethod] with root cause  
java.lang.ClassNotFoundException: org.springframework.web.method.HandlerMethod  
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720)  
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)  
at org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRequestHandlerAdapter.java:49)  
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)  
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)

Thanks  
Venkat  
6503154209

---

<div class="post-metadata">

**Author:** ![felixbarny](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/felixbarny/32/27341_2.png) [@felixbarny](https://discuss.elastic.co/u/felixbarny)\
**Post date:** [October 9, 2018, 6:18am UTC](https://discuss.elastic.co/t/springframework-exception/151538/2 "2018-10-09T06:18:40Z")

</div>

Hi Venkat,

The version 2.0.2 refers to Spring Boot. 2.5.6 is not a valid Spring Boot version, so I assume you mean you are using Spring Web MVC 2.5.6? If that’s true, that would be quite an old version which we currently have no plans to support. We only support Spring Web MVC 4.x and 5.x.

Cheers,  
Felix

---

<div class="post-metadata">

**Author:** ![Venkat\_Akkireddy](https://avatars.discourse-cdn.com/v4/letter/v/49beb7/32.png) [@Venkat\_Akkireddy](https://discuss.elastic.co/u/Venkat_Akkireddy)\
**Post date:** [October 9, 2018, 6:31pm UTC](https://discuss.elastic.co/t/springframework-exception/151538/3 "2018-10-09T18:31:16Z")

</div>

Thanks Felix for your Prompt Response.

I have forwarded your response to the DEV Team.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 30, 2018, 2:31pm UTC](https://discuss.elastic.co/t/springframework-exception/151538/4 "2018-10-30T14:31:16Z")

</div>

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
