title: After the modification of ApplicationResources.groovy the main page stops running
body: <p>I´ve tried to modify my application resource file (ApplicationResources.groovy) and my entry page stops working. I got this following error:</p>
  
  <blockquote>
    <p>URI
        /grails/
    Class
        java.lang.IllegalArgumentException
    Message
        No module found with name [application]</p>
  </blockquote>
  
  <p>"No module found", but the module already exists. I just have changed it:</p>
  
  <pre><code>    modules = {
      application {
          resource url:'js/application.js'
      }
  }
  </code></pre>
  
  <p>to:</p>
  
  <pre><code>modules = {
      application {
          resource url:'js/application.js'
          resource url: 'css/main.css'
      }
  }
  </code></pre>
  
  <p>This css also already exists in notified path.</p>
  
  <p>I have no idea how to fix it. Thanks in advance!</p>