Jump to content
Changes to the Jaspersoft community edition download ×

ClassNotFoundException


2006 IR Open Dicussion

Recommended Posts

By: accarvajal - accarvajal

ClassNotFoundException

2006-03-31 14:13

Hi!

 

I'm using latest iReport designer version to my jasperreports, I have done my first report, and iReport compiles jrxml file as .jasper.

 

My problem is when I try to view report by java program. I do something like this:

 

JasperPrint JP = JasperFillManager.fillreport("users.jasper", param, conn);

JasperView.viewReport(JP);

 

Java debug shows an error into JasperFillManager.fillreport due to when it tries net.sf.jasperreports.engine.util.JRLoader.loadObject

 

throws a java.lang.ClassNotFoundException: org.apache.commons.collections.SequencedHashMap

 

I don't know what I'm wrong?

 

thanks for your help

 

 

 

 

By: cardondenis - cardondenis

RE: ClassNotFoundException

2006-04-03 04:15

Have you added all the jasper jar in your classpath. You probably miss the apache commons jars. If you have copied your jars correctly, you may also have older jars colliding with the jasper jars.

 

Cheers,

 

Denis

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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...