LinkAgent
LinkAgent copied to clipboard
与 skywalking 对同一个类加强 java.lang.UnsupportedOperationException: class redefinition failed: attempted to change the schema (add/remove fields)
java.lang.UnsupportedOperationException: class redefinition failed: attempted to change the schema (add/remove fields)
(DefaultModuleEventWatcher.java:163)
2021-09-08 08:44:27 [pamirs] WARN SIMULATOR: watch=1195 in module=redis-jedis single reTransform class redis.clients.jedis.Jedis failed, at index=0;total=1. 2021-09-08 08:44:28 [pamirs] WARN SIMULATOR: watch=1198 in module=redis-jedis single reTransform class redis.clients.jedis.PipelineBase failed, at index=0;total=1. 2021-09-08 08:44:28 [pamirs] WARN SIMULATOR: watch=1199 in module=redis-jedis single reTransform class redis.clients.jedis.Jedis failed, at index=0;total=1. 2021-09-08 08:44:29 [pamirs] WARN SIMULATOR: watch=1202 in module=redis-jedis single reTransform class redis.clients.jedis.PipelineBase failed, at index=0;total=1. 2021-09-08 08:44:31 [pamirs] WARN SIMULATOR: watch=1179 in module=okhttp single reTransform class okhttp3.RealCall failed, at index=0;total=1. 2021-09-08 08:44:31 [pamirs] WARN SIMULATOR: watch=1180 in module=okhttp single reTransform class okhttp3.RealCall$AsyncCall failed, at index=0;total=1. 2021-09-08 08:44:34 [pamirs] WARN SIMULATOR: watch=1130 in module=redis-lettuce single reTransform class io.lettuce.core.RedisClient failed, at index=0;total=1. 2021-09-08 08:44:34 [pamirs] WARN SIMULATOR: watch=1131 in module=redis-lettuce single reTransform class io.lettuce.core.AbstractRedisClient failed, at index=0;total=1.
@shulieTech
I meet the same problem
skywalking will add two fields in origin class
skywalking will add two fields in origin class
at least two field
可以在启动参数上加下面这两参数
-Dskywalking.agent.is_cache_enhanced_class=true -Dskywalking.agent.class_cache_mode=MEMORY
是skywalking带的配置参数 ,可以参考下https://github.com/apache/skywalking/blob/master/docs/en/FAQ/Compatible-with-other-javaagent-bytecode-processing.md