How to solve uuid in jasper report

坚强是说给别人听的谎言 提交于 2019-11-30 21:58:41

This worked for me: Change the compatibility of the JasperReport to 3.5.1 in Tools - Options - General - Compatibility. Now when you made a change in the designer the 'uuid' property is auto-generated in every field of the report, to remove it just save your report before open the XML view.

Try to update the jasperreports dependency, if you are using maven you can do it this way:

<dependency>
    <groupId>net.sf.jasperreports</groupId>
    <artifactId>jasperreports</artifactId>
    <version>5.0.0</version>
</dependency>

Also we need to add the iText dependency to work fine.

<dependency>
   <groupId>com.lowagie</groupId>
   <artifactId>itext</artifactId>
   <version>2.1.7</version>
</dependency>

The jar package in your app must to be the same version of the iReport. I think it will fix your problem.

Cheers! Cassio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!