How to compile !!!

0

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

 

 

 

andros976's picture
Joined: Mar 9 2013 - 9:06am
Last seen: 7 years 3 months ago

1 Answer:

1

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

andros976's picture
Joined: Mar 9 2013 - 9:06am
Last seen: 7 years 3 months ago
Feedback
randomness