Jump to content

java.lang.NoSuchMethodError: castToType


paul_cooper

Recommended Posts

Hi. I'm getting a java.lang.NoSuchMethodError: castToType exception when running a subreport inside my main report. The exception is coming from the constructor of the first subreport (there are 5 in the main report). We have been using iReports for quite a while, and have created a few reports with subreports successfully, and this report previews just fine. But when we attempt to run the report inside our web app, we get the above exception. Currently using iReports 3.7.1

Anyone have any tips as to which JAR file we are missing? Our project includes the following jars: jasperreports-3.7.1, groovy-all-1.5.5, iText-2.1.4

Thanks for any help solving this problem. I've spent the better part of a day on it, and have not yet found which jar contains a class with this method.

Paul Cooper
Project Manager/Tech Lead
EMS Performance Improvement Center

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...