I had this line working: resourceBundle = resourceBundle.getBundle("foo"); It would find the foo.properties file
So then in the same directory as the foo.properties file, i created another directory called "resources" and moved the foo.properties file to there. Then i changed the code: resourceBundle = resourceBundle.getBundle("resources/foo"); and add the resources folder to the classpath, but now i get:
Exception in thread "main" java.util.MissingResourceException: Can't find bundle for base name resources/foo, locale en_US...