hi all! I'm having a problem with calling jasper reports from my java application. I used iReport to create the jrxml report file and then wrote the necessay code to call it from my java app. I have imported the necessary packages and added the required jar files to my project classpath. I dont get any errors when compiling. But when i run the application and try to call the report, i get the following error: "java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester at net.sf.jasperreports.engine.JasperCompileManager. compileReport(JasperCompileManager.java:150)" Am using netbeans6.1 and latest version of ireport.
I am confused since the commons/digester jar file has been added in the classpath. What am i doing wrong. please help me out. thanks.
Well,Martijn, as I said, I'm using Netbeans and so I added the zip files to my project classpath by right-clicking on it, choosing Properties->Libraries and specifying the respective paths under Compile tab. These are the zip files I added: