title: Problem with grails [object is not an instance of declaring class]
body: <p>I`m really desperate because everytime I restart my tomcat server to upload other war files from applications, one of my application always appear with this grails bug.</p>
  
  <pre><code>Message: object is not an instance of declaring class 
  Caused by: Error processing GroovyPageView: object is not an instance of declaring class 
  Class: gsp_myapp_home_gsp 
  </code></pre>
  
  <p>My application runs almost everything perfect, but there is always the same view with this problem.</p>
  
  <p>I tried to do: <strong>cd webapps find mygrailsappli -exec touch {} ;</strong>  from grails FAQ, but it doesnt work after restarting. But when I restart like 10 or 20 times it works again.
  I can't deal with it anymore, have to be a way to stop it and I need you guys help please.</p>