Jump to content

Recommended Posts

Hi everybody

i'm trying  a new report project. I've created the .jrxml file with ireport. And now i'm trying to integrate in java but there are some problems:

JasperReport jasperreport = JasperCompileManager.compileReport("C:/Users/andros/20130505/aManager/src/report/report.jrxml");

not works !!

Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory

I've tryed

File file = new File("C:/Users/andros/20130505/aManager/src/report/report.jrxml");
FileInputStream fis = new FileInputStream(file);

JasperReport jasperreport = JasperCompileManager.compileReport(fis);

not works too !!!

Help me

thanx

 

 

 

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Updating....

I've added 

in the classpath 

commons-logging-1.1.3.jar

then another error -  java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester

so, i've added 

commons-digester3-3.2.jar

but the error remains !!!!!

Link to comment
Share on other sites

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