title: Excel datasource in JasperReports/iReport: Unable to get value for field 'Date' of class 'java.sql.Date'
body: <p>I've used an <em>Excel</em> file as datasource for building report with <em>iReport</em>. The <em>xls</em> file contains dates <strong><em>yyyy-MM-dd</em></strong> format. </p>
  
  <p>I've set the Date field class to <em>java.sql.Date</em> and I click on preview in <em>iReport</em>. There is an error: <code>Unable to get value for field 'Date' of class 'java.sql.Date'.</code> </p>
  
  <p>I have tried with <em>java.util.Date</em> too. Do you have any ideas?</p>