Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/windows/15.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java调试器返回";系统类加载器未定义appendToClassPathForInstrumentation方法或该方法失败;_Java_Debugging_Intellij Idea - Fatal编程技术网

Java调试器返回";系统类加载器未定义appendToClassPathForInstrumentation方法或该方法失败;

Java调试器返回";系统类加载器未定义appendToClassPathForInstrumentation方法或该方法失败;,java,debugging,intellij-idea,Java,Debugging,Intellij Idea,我在调试任何文件时遇到问题。控制台弹出以下内容: "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=

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

"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
有已知的修复方法吗


很可能是这样。如果您将IDE系统目录重新定位到磁盘上的其他位置,而路径中没有非ASCII符号,则应该会有所帮助。

您试图连接到的VM似乎禁用了调试,原因可能是它缺少必要的库,也可能是故意禁用了调试。你必须找到是谁制造了这个东西,并询问他们是如何部署它的。实际上,在这里似乎更相关。