用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