How to compile !!!

Jaspersoft Community 'Read-Only' as of July 8, 2022

Transition to New TIBCO Community Just Weeks Away

You can still search, review wiki content, and review discussions in read-only mode. Please email community@tibco.com with questions or issues requiring TIBCO review or response.

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: 8 years 11 months ago

1 Answer:

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: 8 years 11 months ago
Feedback