title: Can not find Resource files
body: <p>I have the following project structure in IntelliJ IDEA:</p>
  
  <p><a href="https://i.stack.imgur.com/cjkZs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cjkZs.png" alt="enter image description here"></a></p>
  
  <p>But when I run the code it throws an exception</p>
  
  <pre><code>Exception in thread "main" java.lang.IllegalArgumentException: input == null!
      at javax.imageio.ImageIO.read(ImageIO.java:1388)
  </code></pre>
  
  <p>Because I am loading image using the Main.Class.getResources() method and it seems it doesn't find then in the Resources folder. I tried to add the *.png pattern to compiler settings, but it doesn't work. Any idea how to make it work?</p>