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/09/24 02:17:14 UTC

[GitHub] [skywalking] liangjun-jiang commented on issue #4949: java.lang.ClassFormatError: Duplicate interface name "org/apache/skywalking/apm/agent/core/plugin/interceptor/enhance/EnhancedInstance"

liangjun-jiang commented on issue #4949:
URL: https://github.com/apache/skywalking/issues/4949#issuecomment-698070562


   I totally believe you. but, if I don't comment out these two. I still saw the error.  I leave those to you to figure out why those matter.
   
   ```
   # If true, SkyWalking agent will save all instrumented classes files in `/debugging` folder.
   # SkyWalking team may ask for these files in order to resolve compatible problem.
   agent.is_open_debugging_class = ${SW_AGENT_OPEN_DEBUG:true}
   
   # The instrumented classes cache mode: MEMORY or FILE
   # MEMORY: cache class bytes to memory, if instrumented classes is too many or too large, it may take up more memory
   # FILE: cache class bytes in `/class-cache` folder, automatically clean up cached class files when the application exits
   agent.class_cache_mode = ${SW_AGENT_CLASS_CACHE_MODE:MEMORY}
   ```
   
   Likewise,  I set the following as `true`, or I set it as `false`. Either way, I won't see the error again. 
   ```
   agent.is_cache_enhanced_class = ${SW_AGENT_CACHE_CLASS:true}
   ```
   I wish I could only need to care this, but it alone doesn't solve the problem
   ```
   agent.is_cache_enhanced_class = ${SW_AGENT_CACHE_CLASS:true}
   ```
   
   


----------------------------------------------------------------
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