Error on compile in iReport 5.6

0

What could be causing this error:

"net.sf.jasperreports.engine.JRException: java.lang.ClassCastException: java.lang.String cannot be cast to java.sql.Connection"?  

I have several subreports being pulled into a main doucment.  Any help you can give me to hunt down the cause of this would be much appreciated

jmurphy's picture
Joined: May 8 2015 - 1:05pm
Last seen: 1 year 5 months ago

1 Answer:

0

It is clearly stating that the problem is coverting types :

"java.lang.String cannot be cast to java.sql.Connection"

 

 

sadakar's picture
632
Joined: Aug 14 2012 - 3:57am
Last seen: 1 week 2 days ago
Feedback