-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
mc 命令一直报错Memory compiler error, exception message: null, please check $HOME/logs/arthas/arthas.log for more details. #799
Comments
你的jdk加载这个 |
我重启了下也不可以,这个要怎么处理呢@hengyunabc |
@hengyunabc 问题解决了,感谢老哥的提醒,去网上ToolProvider.getSystemJavaCompiler();查询这个加载失败是因为jre下没有对应的tools.jar,然后我试了试,按照网上的方法不好使。仔细看了启动日志,发现arthas用的jdk和环境的jdk不是同一个(项目用的centos7自带的),arthas用的环境配置,然后我卸载了自带的jdk,就可以了 |
@longtong99 一定要卸载自带的jdk是什么意思,我用的就是环境的jdk 启动的/opt/jdk1.7.0_79/bin/java -jar arthas-boot.jar 24494 |
@hengyunabc 我能启动arthas 但是执行 mc /root/ScenicSuppGoodsServiceImpl.java 报错,需要怎么操作,还要安装jdk?默认的目录?我们机器上已经有jdk了?目录在/opt/jdk1.7.0_79/bin/java |
@hengyunabc Hello , 我在 https://arthas.aliyun.com/doc/arthas-tutorials.html?language=cn&id=arthas-advanced 该网站学习的时候 在Step 9 的时候, 运行至 网站也报错[arthas@23]$ mc --classLoaderClass org.springframework.boot.loader.LaunchedURLClassLoader /tmp/UserController.java -d /tmp 想问一下, 是测试服务器环境配置的哪里不对吗? |
这个是新的参数,还没有发版本,可以先用 -c 参数。 |
环境信息
centos7
jdk1.8
arthas3.1.1
重现问题的步骤
1.执行
mc -c 49c2faae /root/TestController.java
2.报错
实际操作上只要运行mc命令无论怎么执行都报这个错,就没有成功过,求高人指点
The text was updated successfully, but these errors were encountered: