Error in report call

Posted by dhilip kumar on
URL: http://ofbiz.116.s1.nabble.com/Error-in-report-call-tp140479.html

I am creating reports with iReport. I created a XML type of report.
  I used the following line in controller.xml to call the report :
      <view-map name="guestbook" type="jasperreportspdf" page="/reports/report3.xml" content-type="application/pdf" encoding="none"/>
   
   
  But I am getting the following error in the browser :
   
  net.sf.jasperreports.engine.JRException: Element type "import" must be declared.
   
  Did anyone come across this?
   
   
  Thanks and regards
  Dhilip

 
---------------------------------
Do you Yahoo!?
 Next-gen email? Have it all with the  all-new Yahoo! Mail Beta.