[英]Eclipse: adding resources to Jar
I am trying to export an application I am building, but I have run into some trouble. 我正在尝试导出正在构建的应用程序,但是遇到了一些麻烦。 It can't seem to load one of the resource files.
它似乎无法加载资源文件之一。 The resource file is located in one of the packages in my src folder.
资源文件位于我的src文件夹中的软件包之一中。 I have tried all three of the options when exporting a Jar.
导出Jar时,我尝试了所有三个选项。 I really hope someone can help me.
我真的希望有人能帮助我。
查看“ Project Properties > Java Build Path > Order and Export
,并确保您的资源被选中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.