I am getting File not found when reading config.properties. config.properties is rightly there under com/wu/resources. What could be the issue?
Properties prop = new Properties();
InputStream input;
input = Readproperties.class.getClassLoader().getResourceAsStream("/com/wu/resources/config.properties");
if (input != null) {
  prop.load(input); }
else {
  System.out.println("file not found");
}
 
     
    