I am working on a legacy application which uses an old version of jasper reports. Now from Jul, the build is failing because the jasper reports version 2.0.5 has a dependency on itext version [1.02b,) which in turn was pointing to version 4.2.2 which does not exist in the maven repository. More details are given in the link below
Dependency error in jasper-reports from itext
On following the answers i updated the jasperreports version to 3.5.3
<dependency>
<groupId>jasperreports</groupId>
<artifactId>jasperreports</artifactId>
<version>3.5.3</version>
</dependency>
and also tried
<dependencies>
<dependency>
<groupId>jasperreports</groupId>
<artifactId>jasperreports</artifactId>
<version>2.0.1</version>
<exclusions>
<exclusion>
<groupId>com.lowagie</groupId>
<artifactId>itext</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.lowagie</groupId>
<artifactId>itext</artifactId>
<version>2.1.7</version>
<scope>compile</scope>
</dependency>
...
In both cases the build was successful but when the application is deployed, during runtime when i am trying to generate the report, I get the error
net.sf.jasperreports.engine.JRException: Report compiler class not found : org.codehaus.mojo.jasperreports.MavenJavacCompiler
I am not able to figure out what is causing the issue. The JRE version on the server is 1.5 and i have tried building the app in both 1.5 and 1.6,it fails on both accounts.
Please help.
Thanks, Tatha