无法将调试器附加到进程

时间:2019-10-28 11:28:14

标签: spring-boot intellij-idea

将调试器附加到正在运行的应用程序失败,并显示以下错误:

40:1556: execution error: Error occurred during initialization of boot layer java.lang.module.FindException: Module jdk.hotspot.agent not found(1)

使用生成的jar手动添加导出也会失败。

当我从其他系统尝试时,抛出以下错误:

Caused by: sun.jvm.hotspot.debugger.DebuggerException: Can't attach symbolicator to the process     
at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.attach0(Native Method)     
at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.access$100(BsdDebuggerLocal.java:65)
at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1AttachTask.doit(BsdDebuggerLocal.java:278)

0 个答案:

没有答案
相关问题