gpt4 book ai didi

java - Java 调试器返回 "the system class loader does not define the appendToClassPathForInstrumentation method or the method failed"

转载 作者:行者123 更新时间:2023-12-01 17:20:47 44 4
gpt4 key购买 nike

我在尝试调试任何文件时遇到问题。控制台弹出如下:

"C:\Program Files\Java\jdk-14.0.1\bin\java.exe" -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:51080,suspend=y,server=n -javaagent:C:\Users\Błażej-PC\.IdeaIC2019.3\system\captureAgent\debugger-agent.jar -Dfile.encoding=UTF-8 -classpath "C:\Users\Błażej-PC\IdeaProjects\Choinka\out\production\test;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.3.4\lib\idea_rt.jar" VERSJA14TEST.Main

Connected to the target VM, address: '127.0.0.1:51080', transport: 'socket'
Unexpected error (103) returned by AddToSystemClassLoaderSearch

Unable to add C:\Users\B�a�ej-PC\.IdeaIC2019.3\system\captureAgent\debugger-agent.jar to system class path - the system class loader does not define the appendToClassPathForInstrumentation method or the method failed
FATAL ERROR in native method: processing of -javaagent failed, appending to system class path failed
Disconnected from the target VM, address: '127.0.0.1:51080', transport: 'socket'

Process finished with exit code 1

有已知的修复吗?

Screenshot

最佳答案

IDEA-236445很可能就是这样。如果您将 IDE 系统目录重新定位到磁盘上的某个其他位置(路径中没有非 ASCII 符号 see this guide),这应该会有所帮助。 .

关于java - Java 调试器返回 "the system class loader does not define the appendToClassPathForInstrumentation method or the method failed",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61293646/

44 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com