title: Intellij not recognizing source directory in project
body: <p>Java EE. Maven.
  Package <code>resources</code> marked as <code>Resource root</code>, package java as <code>Source root</code> also.
  In my class I have path String <code>property\file.properties</code>, but when I run it, <code>IDEA</code> throws an exception :</p>
  <blockquote>
  <p>&quot;java.io.FileNotFoundException: property\file.properties (The system
  cannot find the path specified)&quot;</p>
  </blockquote>
  <p>But when I change path String to <code>src\main\resources\property\file.properties</code> it works.
  Packages marked as source. In Project File - Module I also see that this directories marked as source roots.
  How can I fix it, any ideas?
  I have already tried invalidate cache.
  P.S: When I rename my string path with <code>shift + f6</code> file also change name.</p>
  <p>EDIT:
  <a href="https://i.stack.imgur.com/A20CR.png" rel="nofollow noreferrer">Source root packages</a></p>