You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2020/01/17 07:41:18 UTC

[GitHub] [skywalking] dfsmallsky edited a comment on issue #4249: Can't find org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.InstanceMethodsAroundInterceptor

dfsmallsky edited a comment on issue #4249: Can't find org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.InstanceMethodsAroundInterceptor
URL: https://github.com/apache/skywalking/issues/4249#issuecomment-575512854
 
 
   > @dfsmallsky do you have your own class loader in the application or what frameworks (like MyBatis, PageHelper, from your stack traces)? If you're using Spring Boot, it should be easy to create a reproduce project, I did encounter this problem because of class loader issue, if you're willing to help, maybe we can try to solve it, I need a minimal yet runnable reproduce application, can you create one in the GitHub @dfsmallsky
   
   Finally I resolve this!The problem is there is a mysql-connector-java.jar in my java ext path,I don't know how and why it is there...So when try to enhance mysql class, the classloader is extClassloader and can not find InstanceMethodsAroundInterceptor.
   Delete the jar in ext path,the mysql trace work!
   @kezhenxu94 @wu-sheng 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services