You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
xzyJavaX opened this issue
Jul 6, 2023
· 5 comments
Assignees
Labels
agentLanguage agent related.bugSomething isn't working and you are sure it's a bug!javaJava agent relatedpluginPlugin for agent or collector. Be used to extend the capabilities of default implementor.
I had searched in the issues and found no similar issues.
Apache SkyWalking Component
Java Agent (apache/skywalking-java)
What happened
When using spring 3.1.4.RELEASE , springmvc-annotation-5.x-plugin throws java.lang.NoSuchMethodError.
Error log:
java.lang.NoSuchMethodError: org.springframework.web.context.request.ServletRequestAttributes.getResponse()Ljavax/servlet/http/HttpServletResponse;
at org.apache.skywalking.apm.plugin.spring.mvc.v5.GetBeanInterceptor.afterMethod(GetBeanInterceptor.java:56)
at org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.InstMethodsInter.intercept(InstMethodsInter.java:97)
at org.springframework.web.method.HandlerMethod.getBean(HandlerMethod.java)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.createRequestMappingMethod(RequestMappingHandlerAdapter.java:640)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:610)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:578)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:900)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:827)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:529)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:623)
...
springmvc-annotation-5.x-plugin selected withess class is org.springframework.beans.annotation.AnnotationBeanUtils , and org.springframework.beans.annotation.AnnotationBeanUtils also exists in spring3
wu-sheng
added
agent
Language agent related.
java
Java agent related
plugin
Plugin for agent or collector. Be used to extend the capabilities of default implementor.
labels
Jul 6, 2023
agentLanguage agent related.bugSomething isn't working and you are sure it's a bug!javaJava agent relatedpluginPlugin for agent or collector. Be used to extend the capabilities of default implementor.
Search before asking
Apache SkyWalking Component
Java Agent (apache/skywalking-java)
What happened
When using spring 3.1.4.RELEASE , springmvc-annotation-5.x-plugin throws java.lang.NoSuchMethodError.
Error log:
springmvc-annotation-5.x-plugin
selected withess class isorg.springframework.beans.annotation.AnnotationBeanUtils
, andorg.springframework.beans.annotation.AnnotationBeanUtils
also exists in spring3What you expected to happen
No response
How to reproduce
No response
Anything else
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: