title: java.io.FileNotFoundException: src/config.properties (No such file or directory)
body: <pre><code>  Properties getprop() throws IOException {
         Properties prop = new Properties();
  
        Properties props = new Properties(); 
  
          props.load(new FileInputStream("config.properties"));
  
  return props;
  }
  </code></pre>
  
  <p>This method is used to load the file and file is placed in classpath of project
  and this method is used while getting the JDBC connection.</p>
  
  <p>and after once we build application JAR is generating and that Jar is placed in MDMHubConsole and loding the URL is the procedure.</p>
  
  <p>Same app is working as Just java app,But after Jar generation and replaced in MDMHUBConsole end up with NullPointerException</p>