title: FIle Not Found exception while deploying Jar
body: <p>I am getting File not found Exception to access files in File object from jar deployed after successful compilation.In this case files are placed in default folder of src and being access via <strong>src/filename.txt</strong>. </p>
  
  <p>Even tried MyClass.class.getResource("/file.txt").getPath(); to access file
  <a href="https://i.stack.imgur.com/uex8L.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uex8L.jpg" alt="Dir Structure"></a>
  </p>
  
  <pre><code>File filterFile=new File("win.txt");
  File currentFile=new File("winP.txt");
  </code></pre>
  
  <p>Kindly provide suggestion i.e. where to place text file in netbeans for jar deployment.</p>