阅读背景:

如何从Java jar文件中读取资源文件?

来源:互联网 

I'm trying to access an XML file within a jar file, from a separate jar that's running as a desktop application. I can get the URL to the file I need, but when I pass that to a FileReader (as a String) I get a FileNotFoundException saying "The file name, directory name, or volume label syntax is incorrect."I'm trying to access an XML file within a jar f




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: