2301_76569482 2023-02-18 21:06 采纳率: 85.7%
浏览 48
已结题

运行出现这种情况,怎么回事

"D:\Files\Java\jdk-13.0.2\bin\java.exe" -agentlib:jdwp=transport=dt_socket,address=127.0.06,suspend=y,server=n -javaagent:C:\Usersxxxxxgent\debugger-agent.jar -Dfile.encoding=UTF-8 -classpath "D:\xxx\out\production\xxx;D:\IntelliJ IDEA Community Edition 2019.\plugins\Kotlin\kotlinc\lib\kotlin-stdlib.jar;D:\IntelliJ IDEA Community Edition 2019.3.3\plugins\Kotlin\kotlinc\lib\kotlin-reflect.jar;D:\IntelliJ IDEA Community Edition 2019.3.3\plugins\Kotlin\kotlinc\lib\kotlin-test.jar;D:\IntelliJ IDEA Community Edition 2019.3.3\plugins\Kotlin\kotlinc\lib\kotlin-stdlib-jdk7.jar;D:\IntelliJ IDEA Community Edition 2019.3.3\plugins\Kotlin\kotlinc\lib\kotlin-stdlib-jdk8.jar;D:\IntelliJ IDEA Community Edition 2019.3.3\lib\idea_rt.jar" Helloworld
Connected to the target VM, address: '127.0.0., transport: 'socket'
FATAL ERROR in native method: processing of -javaagent failed, appending to system class path failed
Unexpected error (103) returned by AddToSystemClassLoaderSearch
Unable to add C:\Users\ .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
Disconnected from the target VM, address: '127.0.0.1:59296', transport: 'socket'

Process finished with exit code 1

  • 写回答

1条回答 默认 最新

  • CodeBytes 2023-02-18 21:11
    关注

    该回答引用ChatGPT

    这个错误提示看起来是在加载 debugger-agent.jar 的时候出现了问题,可能是因为 debugger-agent.jar 这个文件不存在或者损坏了,或者是因为权限不足等原因导致加载失败。

    你可以先检查一下 C:\Usersxxxxxgent\debugger-agent.jar 这个路径下是否存在 debugger-agent.jar 文件,如果存在,可以尝试修改文件的权限,或者尝试使用管理员身份运行程序。如果文件不存在,可以尝试重新下载安装 IntelliJ IDEA,并确保安装路径没有特殊字符或中文。

    如果上述方法都无效,你可以尝试删除 C:\Users\ .IdeaIC2019.3\system\captureAgent\debugger-agent.jar 文件,然后重新启动 IntelliJ IDEA。如果还是不行,建议检查一下系统环境变量是否设置正确,或者卸载重新安装 JDK 和 IntelliJ IDEA。

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

问题事件

  • 系统已结题 3月2日
  • 已采纳回答 2月22日
  • 创建了问题 2月18日

悬赏问题

  • ¥15 加热介质是液体,换热器壳侧导热系数和总的导热系数怎么算
  • ¥15 想问一下树莓派接上显示屏后出现如图所示画面,是什么问题导致的
  • ¥100 嵌入式系统基于PIC16F882和热敏电阻的数字温度计
  • ¥15 cmd cl 0x000007b
  • ¥20 BAPI_PR_CHANGE how to add account assignment information for service line
  • ¥500 火焰左右视图、视差(基于双目相机)
  • ¥100 set_link_state
  • ¥15 虚幻5 UE美术毛发渲染
  • ¥15 CVRP 图论 物流运输优化
  • ¥15 Tableau online 嵌入ppt失败