title: JasperReports Server: Getting "java.util.GregorianCalendar not configured" error when using java.util.Calendar at scriptlet
body: <p>I have design report using <em>iReport</em>. In this report I have one custom function which takes year and the month as input and return max days in that month.</p>
  
  <p>This method using <strong><em>java.util.Calendar</em></strong> API internally to get max days in the given month and year.</p>
  
  <p>This reports works fine with <em>iReport</em>, but as soon as I import this report in <em>JasperReports Server</em> I am getting this exception.</p>
  
  <pre><code>Error Message
  
  java.lang.IllegalStateException: Processor of type com.jaspersoft.jasperserver.war.cascade.handlers.converters.DataConverter for class 
  
  java.util.GregorianCalendar not configured
  </code></pre>
  
  <p>How to resolve this issue in <em>JasperReports Server</em>? How to configure this class in <em>JasperReports Server</em>?</p>