githubcheng2978
githubcheng2978
能否使用两个ProcessorSlot没有直接联系的方式,但只有顺序的方式实现。例如数组
java.lang.IllegalAccessError: tried to access class org.apache.http.impl.client.InternalHttpClient$$sw$auxiliary$8shium3 from class org.apache.http.impl.client.InternalHttpClient
1. InternalHttpClient class is loaded by springboot classLoader and then it is loader by customer classloader(IClassLoader),to prevent class conflicts by it is throw java.lang.IllegalAccessError. 2. If I prioritize using a...
I use the Skywalking agent, and the key code is as follows: ` newClassBuilder = newClassBuilder.method(junction) .intercept(MethodDelegation.withDefaultConfiguration() .to(new InstMethodsInter(interceptor, classLoader), delegateNamingResolver.resolve(instanceMethodsInterceptPoint)));` What is the class of generated auxiliary: `class InternalHttpClient$$sw$auxiliary$urqm873...
https://github.com/apache/skywalking-java/blob/3a9645849529736ca3f67170d673daaee0ed0cda/apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/plugin/bootstrap/BootstrapInstrumentBoost.java#L117 the injection strategy is: ClassInjector.UsingUnsafe.Factory factory = ClassInjector.UsingUnsafe.Factory.resolve(instrumentation); factory.make(null, null).injectRaw(classesTypeMap); agentBuilder = agentBuilder.with(new AgentBuilder.InjectionStrategy.UsingUnsafe.OfFactory(factory));
My project uses Skywalking and Apache HTTP client. At the same time, a third-party SDK was used in the project, which also introduced the Apache HTTP client through a jar...
I also tried to get help in Skywalking, and the answer I got was the problem with the class loader. I don't know exactly where the problem occurred, so I...