Search code examples
javastruts2jasper-reportsdynamic-jasper

Class not found Error while integrating DynamicJasper with Struts 2.3.3


I am using DynamicJasper 4 and facing problem while integrating with Struts 2.3.3.

I've used the DynamicJasperStruts2-1.jar for displaying the generated report, but the problem is this jar imports TextUtils class which requires x-work 2.1 library.

But for Struts 2.3.3 we require xwork-core 2.3.3 jar which does not contain the TextUtils class.

So while integrating I get the error Class not found so do update the DynamicJasperStruts2-1.jar so that its compatible with the Struts 2.3.3.

All my project are on Struts 2.3, so degrading down would be problem.

What can you recommend to solve this problem?


Solution

  • Please, download latest version which resolves the issue:

    or update your pom.xml to

       <dependency>
          <groupId>ar.com.fdvs</groupId>
          <artifactId>DynamicJasper-Struts2</artifactId>
          <version>1.3</version>
        </dependency>