Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ASM依赖包冲突问题 #43

Open
ralgond opened this issue Nov 20, 2016 · 1 comment
Open

ASM依赖包冲突问题 #43

ralgond opened this issue Nov 20, 2016 · 1 comment

Comments

@ralgond
Copy link

ralgond commented Nov 20, 2016

如果被监控的java程序依赖了ASM包,那么很有可能会和TProfile中ASM包冲突。我也遇到同样问题并已解决,具体请看injectsocks

@mccxj
Copy link

mccxj commented Dec 19, 2017

我看是用了独立的classloader来加载,这样配置的时候要多加一个参数。
我是采用打包时对包名进行映射处理,例如org.objectweb.asm换成innter.asm,这样就不会冲突了。

https://github.com/mccxj/TProfiler/blob/master/pom.xml#L48

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants