modify the config.properties loader logic, use class.getResourceAsStream() instead classLoader.getResourceAsStream().