title: Intellij unable to find file from classpath
body: <p>Intellij is unable to find a file on the classpath with the following java statement:</p>
  <pre><code> URL fileUrl = TestClass.class.getResource(&quot;/data.xlsx&quot;);
  </code></pre>
  <p>The variable fileUrl is null;</p>
  <p><a href="https://i.stack.imgur.com/SPvze.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SPvze.png" alt="enter image description here" /></a></p>