阅读背景:

eclipse无法识别bin文件夹中的资源(通过相对文件路径)

来源:互联网 

This is driving me crazy. I've spent hours googling this and cannot find a single other case of someone with this problem. I have put all my needed images for my program into the src folder, but when I run the program it does not draw the images. I check the bin folder, and they HAVE been properly copied. Even with all of the resources in the bin folder, eclipse doesn't recognize them when I use the relative filepath. If I open a command prompt and cd to the bin folder and run it, all of the images are drawn, with no changes to the code. How can I get eclipse to use the images by relative filepath??This is driving me crazy. I've spent hours goog




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

分享到: