java.lang.ClassCastException

0
I am using iReport 3.0 and eclipse .
when i run the report i am getting blank screen.
console error message coming is as follows

java.lang.ClassCastException:
cannot assign instance of net.sf.jasperreports.engine.base.JRBaseStaticText to field net.sf.jasperreports.engine.base.JRBaseLineBox.boxContainer of type net.sf.jasperreports.engine.JRBoxContainer in instance of net.sf.jasperreports.engine.base.JRBaseLineBox

Jim John
Thaks in advance
jimjohn's picture
22
Joined: Jun 10 2008 - 5:33pm
Last seen: 6 years 2 months ago

1 Answer:

0
You probably have an old JasperReports jar on your classpath. Remove it to fix the problem.

Regards,
Lucian
lucianc's picture
5281
Joined: Jul 17 2006 - 1:10am
Last seen: 4 days 20 hours ago
Feedback