解决IDEA 运行java程序不报错,debug模式报错问题。

idea有时运行java程序不报错,debug模式报错,不能使用

如图
在这里插入图片描述
其中的红字为
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

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:56209’, transport: ‘socket’

Process finished with exit code 1?

可见有乱码汉字。是中文路径的问题。

我试着包idea装在d盘下,最后也没解决问题。但这个包,不知道怎么生成的。运行的时候是没有这个文件的,所以估计是debug生成的。问了很多人,百度了很多也没解决,最后发现只要把这个框别勾选就行了。

在这里插入图片描述

觉得有用不妨点个赞 :)

在这里插入图片描述

  • 40
    点赞
  • 16
    收藏
    觉得还不错? 一键收藏
  • 21
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 21
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值