VisualVM breaks jetty

坚强是说给别人听的谎言 提交于 2019-12-05 16:55:43

The documentation for VisualVM says that if you are using Java 6 you must turn off class sharing when you start the VM:

To profile an application running on JDK 6, you need to turn off class sharing for the application otherwise the application may crash. To turn off class sharing, start the application with -Xshare:off argument.

I suspect that Maven does not use this option by default when it starts Jetty.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!