NoClassDefFoundError: com/itextpdf/text/DocumentException when exporting jasper to pdf

前端 未结 1 1948
无人及你
无人及你 2021-01-23 16:07

I created a jasper report and now I need to export that report to pdf format. This is my code for that.

        // compiles jrxml
              


        
相关标签:
1条回答
  • 2021-01-23 16:38

    You need to upgrade your iText-2.1.7.jar file to latest version as earlier the package that was used by jar is com.lowagie...

    See the change list here which says it has changed the package name.

    0 讨论(0)
提交回复
热议问题