1.错误
Error attaching to process: sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the process sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the process
解决方案:
1修改/etc/sysctl.d/10-ptrace.conf文件如下:
< kernel.yama.ptrace_scope = 1 --- > kernel.yama.ptrace_scope = 0(即将1改成0)
2重启
Oracle Bug ID:http://bugs.java.com/bugdatabase/view_bug.do?bug_id=7050524