05-14-2009 09:27 PM
I'm trying to add some sample data ("test.json") to my app, and then load it up with getClass().getResourceAsStream(), but whenever I add the file under the src dir I get the following error:
The project was not built due to "Could not read file: V:\Blackberry\Prototype\src\test.json.". Fix the problem, then try refreshing this project and building it since it may be inconsistent
If I add a java file, there are no problems, but the json file always gives me the same error.
Adding test.txt fails in the same way.
Any help would be very appreciated.