I am trying to create a jasper report via ide Eclipse, however, when I execute the following line of code:
jasperReport = JasperCompileManager.compileReport("reports/samplereport.jrxml");
I get the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:146)
I added the apache common digester drummer as a project library, but it doesn't seem to make any difference. NOTE. I am from a java newbie (for example, I am a .NET background), so I most likely do something really obvious!
source share