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
Please answer these questions before submitting your issue.
Why do you submit this issue?
Question or discussion
Bug
Requirement
Feature or performance improvement
Bug
SkyWalking 6.1.0
OS CentOS
JRE 1.8
What happen?
A springMVC webapp project is running with a Web Container. In my case, it is running with Weblogic11g which is implemented based on servlet-api-2.5. I had review the source code of springmvc plugin and found out it is implemented based on servlet-api-3.0.1.
Therefore, when org.apache.skywalking.apm.plugin.spring.mvc.commons.interceptor.AbstractMethodInterceptor.afterMethod calls HttpServletResponse.getStatus(), it will throw NoSuchMethodException.
The text was updated successfully, but these errors were encountered:
wu-sheng
added
agent
Language agent related.
feature
New feature
plugin
Plugin for agent or collector. Be used to extend the capabilities of default implementor.
labels
Jul 1, 2019
I mean just add a if,such as
cause for servlet below version 3 just not have getStatus method which we used ,this method will effect springMvc,tomcat,jetty.
So in servlet2.5,we just ignore the status judge .
Please answer these questions before submitting your issue.
Bug
SkyWalking 6.1.0
OS CentOS
JRE 1.8
What happen?
A springMVC webapp project is running with a Web Container. In my case, it is running with Weblogic11g which is implemented based on servlet-api-2.5. I had review the source code of springmvc plugin and found out it is implemented based on servlet-api-3.0.1.
Therefore, when
org.apache.skywalking.apm.plugin.spring.mvc.commons.interceptor.AbstractMethodInterceptor.afterMethod
callsHttpServletResponse.getStatus()
, it will throw NoSuchMethodException.The text was updated successfully, but these errors were encountered: