IDEA 在启动Debug时控制台报出找不到文件的异常?

来源:5-5 使用Springboot版mybatis逆向生成工具

weixin_慕前端3384348

2021-01-06

Connected to the target VM, address: ‘127.0.0.1:5978’, transport: 'socket’
Capture agent: unable to read settings
java.io.FileNotFoundException: C:\Users\Íõ¼ÒÍþ\AppData\Local\Temp\capture1.prop (系统找不到指定的路径。)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.(FileInputStream.java:138)
at java.io.FileInputStream.(FileInputStream.java:93)
at java.io.FileReader.(FileReader.java:58)
at com.intellij.rt.debugger.agent.CaptureAgent.readSettings(CaptureAgent.java:93)
at com.intellij.rt.debugger.agent.CaptureAgent.premain(CaptureAgent.java:31)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:386)
at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:401)
Disconnected from the target VM, address: ‘127.0.0.1:5978’, transport: ‘socket’

Process finished with exit code 0

写回答

1回答

风间影月

2021-01-06

你的路径有乱码呀,导致idea有问题,用eclipse好了也可以的。开发环境一般都用英文文件夹噢

0
0

Spring Boot短视频小程序开发 全栈式实战项目

一门课程带你搞定短视频小程序全栈开发,毕业设计之利器!

2613 学习 · 1952 问题

查看课程