Redefinition failed with error 62

用jvisualVM连接jvm执行Profiler性能分析时报错:Redefinition failed with error 62

控制台报错显示:

Profiler Agent Error Redefinition failed for class
........

解决办法:JVM启动参数添加参数:

-Xverify:none

参考官方:
https://visualvm.github.io/troubleshooting.html
https://github.com/oracle/visualvm/issues/33

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章