[英]NetBeans cannot find my file
I have to specify a filepath. 我必须指定一个文件路径。 I get a FileNotFoundException, but I don't know what's wrong with my filepath.
我收到FileNotFoundException,但我不知道我的文件路径出了什么问题。
Here it is. 这里是。 It's specified in a bundle.properties file:
它在bundle.properties文件中指定:
org_netbeans_modules_autoupdate_silentupdate_update_center=file:/Users/Jesper/Desktop/netbeans_site/updates.xml"
Exception: 例外:
INFO [org.netbeans.modules.autoupdate.updateprovider.DownloadListener]: Reading URL file:C:/Users/Jesper/Desktop/netbeans_site/updates.xml" failed (java.io.FileNotFoundException: C:\Users\Jesper\Desktop\netbeans_site\updates.xml" (Syntaksen i filnavnet, mappen eller diskenhedsnavnet er forkert))
Translation of the last part: "Syntax in filename, folder or diskunitname is wrong". 最后部分的翻译:“文件名,文件夹或diskunitname中的语法错误”。
The file I need it to find is called "updates.xml" and is located on my desktop in a folder called "netbeans_site". 我需要它找到的文件称为“ updates.xml”,位于我的桌面上一个名为“ netbeans_site”的文件夹中。
就像我在评论中发布...问题是路径中的引号
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.