katepassaro Posted June 28, 2011 Share Posted June 28, 2011 I may or may not be posting this in the correct place - I apologize in advance if this is the incorrect forum. Our organization originally used ireports to design reports for openreports, which was integrated with a sourceforge application. Those reports were running fine. More recently, reports were developed on a newer JasperReports version 4.0.1 - and those reports would not work when uploaded (even straight reports with no parameters used as testing.) but the older reports still ran. To triage the issue: 1. Added this JAR file "ojdbc14-10.2.0.jar" to this path: tomcat/webapps/openreports/WEB-INF/lib-This still allowed the old reports to work, but not the new reports. 2. Added the following files to the same path: Jasperreports-javaflow-4.0.1.jar ,jasperreports-4.0.1.jar, jasperreports-applet-4.0.1.jar, jasperreports-fonts-4.0.1.jar. Now we are unable to run all reports, including the previously successful reports, and are receiving the below message: Do we need to remove previous version jasper jar files? Are we putting them in the correct place? Error creating report: 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 Link to comment Share on other sites More sharing options...
katepassaro Posted June 28, 2011 Author Share Posted June 28, 2011 Oh, one more thing. We did not change anything having to do with the 'classpath' which I see now online should have been changed. Is this correct? Thank you in advance for any assistance you can provide. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now