Connected to the target VM, address: ‘127.0.0.1:62478’, transport: ‘socket’ FATAL ERROR in native method: processing of -javaagent failed Unexpected error (103) returned by AddToSystemClassLoaderSearch Unable to add C:\AppData\Local\JetBrains\IntelliJIdea2021.2\captureAgent\debugger-agent.jar to system class path - the system class loader does not define the appendToClassPathForInstrumentation method or the method failed Disconnected from the target VM, address: ‘127.0.0.1:62478’, transport: ‘socket’
您遇到的错误消息表明存在与 IntelliJ IDEA 用于调试的 Java 代理相关的问题 ( debugger-agent.jar)。此代理负责检测 Java 字节码以启用调试功能。
debugger-agent.jar
File
Invalidate Caches / Restart...
Invalidate and Restart
Project Structure
Project
Modules
C:\AppData\Local\JetBrains\IntelliJIdea2021.2\captureAgent\
idea.log
通过系统地检查这些区域和步骤,您应该能够解决阻止您在 IntelliJ IDEA 中调试 Spring Boot 应用程序的问题。 如果问题仍然存在,咨询 IntelliJ IDEA 支持或社区论坛以获取进一步帮助也可能会有所帮助。