title: JasperReports in grails
body: <p>I have installed jasper plugins for my grails application.
  Then in the list.groovy page I have modify the code:</p>
  
  <pre><code>&lt;g:paginate total="${Race.count()}" /&gt; &lt;/div&gt;  
  &lt;g:jasperReport jasper="all-races" format="PDF" name="All Races" /&gt;
  </code></pre>
  
  <p>then I start the grails app. In list.gsp page, an pdf icon has been displayed. but when I click on it. it's showing error:</p>
  
  <pre><code>Error 500: Executing action [index] of controller [org.codehaus.groovy.grails.plugins.jasper.JasperController] in plugin [jasper] caused exception: null
  Servlet: grails
  URI: /cirnele/grails/jasper.dispatch
  Exception Message: No such report spec: /reports/all-races (jasper or .jrxml) 
  Caused by: No such report spec: /reports/all-races (jasper or .jrxml) 
  Class: Unknown 
  At Line: [-1] 
  Code Snippet:
  </code></pre>
  
  <p>Actually I dont know how to use iReport to generate jasper file.</p>