title: Grails: Unable to generate views
body: <p>This is a very basic thing and I have no idea why am not able to do this. I am using Grails 2.3.5</p>
  
  <p>I have a domain class com.trail.AuditTrail and I want it scaffolded views. So, here are the steps I followed:</p>
  
  <ul>
  <li><p>ran <code>grails create-controller com.trail.AuditTrail</code>, this returned a message saying it generated:</p>
  
  <blockquote>
    <p>grails-app/controller/trail/AuditTrailController</p>
    
    <p>grails-app/views/auditTrail (just the folder!)</p>
  </blockquote>
  
  <p>It also created AuditTrailControllerSpec.groovy.</p></li>
  <li><p>Then I added the line <code>static scaffold = true</code> in the Controller.</p></li>
  <li>Then ran <code>generate-views</code> to create the views, but nothing got created ! </li>
  </ul>
  
  <p>IMPORTANT: In fact grails says that there is no command called as generate-views. When I did <code>grails help</code> it didn't list generate-views. So, I thought may be 2.3.5 doesn't have the command and tried generate-all. This too failed. To my surprise, grails help didn't show up generate-all too ! </p>
  
  <p>Then I found this bug: <a href="https://jira.grails.org/browse/GRAILS-10530" rel="nofollow">https://jira.grails.org/browse/GRAILS-10530</a>. So, I tried clean, refresh-dependencies, compile and then generate-all. But still the same problem.</p>
  
  <p>I thought my local grails setup is messed up. So, asked my colleague. He too sees the same problems.</p>
  
  <p>My problem is I am not able to create the default template GSPs out of the domain.</p>