更新时间:2022-05-21 21:25:25
查看消息:
发生了异常:java.io.FileNotFoundException:users/stefan/desktop/lol.xml
An exception has occured : java.io.FileNotFoundException: users/stefan/desktop/lol.xml
请注意,它是"users/stefan/[...]"
-它是一个相对文件名,因此将相对于当前工作目录进行解析.您确定您不是要在"/users/stefan/desktop/lol.xml"
前面加一个斜杠来表示绝对文件名吗?
Note that it's "users/stefan/[...]"
- it's a relative filename, so will be resolved relative to the current working directory. Are you sure you didn't mean "/users/stefan/desktop/lol.xml"
with a leading slash to indicate an absolute filename?