Hi/When I click the debug button, the program didn't start and showed me this error/.

已回答

"C:\Program Files\Java\jdk-11.0.13\bin\java.exe" -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:62704,suspend=y,server=n -javaagent:C:\Users\Олег\AppData\Local\JetBrains\IdeaIC2021.2\captureAgent\debugger-agent.jar -Dfile.encoding=UTF-8 -classpath "D:\Java core lessons\untitled\out\production\untitled;D:\opt\idea\IntelliJ IDEA Community Edition 2021.2.3\lib\idea_rt.jar" Homework.NewByte
Connected to the target VM, address: '127.0.0.1:62704', transport: 'socket'
Unexpected error (103) returned by AddToSystemClassLoaderSearch
Unable to add C:\Users\����\AppData\Local\JetBrains\IdeaIC2021.2\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
Disconnected from the target VM, address: '127.0.0.1:62704', transport: 'socket'

Process finished with exit code 1

评论操作 固定链接

What exactly did you try? Post the new log.

0
评论操作 固定链接

When I click debug I get the output:

D:\opt\bin\java.exe -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:65399,suspend=y,server=n -javaagent:C:\Users\Олег\AppData\Local\JetBrains\IdeaIC2021.2\groovyHotSwap\gragent.jar -Dfile.encoding=UTF-8 -classpath "D:\opt\idea\out\production\idea;D:\opt\idea\IntelliJ IDEA Community Edition 2021.2.3\lib\idea_rt.jar" Homework7.Answers7
Connected to the target VM, address: '127.0.0.1:65399', transport: 'socket'
Unexpected error (103) returned by AddToSystemClassLoaderSearch
FATAL ERROR in native method: processing of -javaagent failed
Unable to add C:\Users\����\AppData\Local\JetBrains\IdeaIC2021.2\groovyHotSwap\gragent.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:65399', transport: 'socket'

Process finished with exit code 1

 


and i tried it:
0
评论操作 固定链接

Please disable Settings | Build, Execution, Deployment | Debugger | HotSwap | Enable hot-swap agent for Groovy code.

0

请先登录再写评论。