Error on compile in iReport 5.6

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: 4 years 7 months ago

1 Answer:

It is clearly stating that the problem is coverting types :

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



sadakar's picture
Joined: Aug 14 2012 - 3:57am
Last seen: 5 months 1 week ago