You say you have
src/config.properties. You're trying to load it through
getResourceAsStream("config.properties"). The documentation says that this format will resolve to an absolute path of
modified_package_name/name, or in your case,
src/package/full/name/config.properties. This obviously doesn't match the location of your file. If you want to specify a path relative to the classpath, rather than the class,
you should use a slash.