如何在碧玉报告中解决uuid问题 [英] How to solve uuid in jasper report

查看:138
本文介绍了如何在碧玉报告中解决uuid问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一些jasper报告文件,我在iReport 3.7.5版本中制作它们。它之前有用,但在我决定使用iReport 5.0.0版本并对其进行了一些更改后,它就出现了问题。我检查了问题是什么,并说它属性'uuid'不允许出现在元素'jasperReport'中这让我感到困惑,因为uuid有很多属性我的报告文件。我猜它是在旧版本转换为新版本时构建的。我试图在xml设计的报告文件中删除所有uuid组件,但它破坏了它的格式和设计。那么,我必须采取什么样的解决方案才能解决这个问题?感谢您的回复

I have some jasper report files, which I make them in iReport 3.7.5 version. It worked before, but after i decided to use iReport 5.0.0 version and made some changes into it, then it had a problem. I checked what the problem was and it said this Attribute 'uuid' is not allowed to appear in element 'jasperReport' It made me confused because there're many attributes of uuid on my report files. I guess it was built while the old version transformed to a new ones. I tried to delete all of uuid components in xml design of report files, but it ruined both its format and design. So, what kind of solution that i must take to solve this? Thanks for any reply

推荐答案

这对我有用:在工具中将JasperReport的兼容性更改为3.5.1 - 选项 - 常规 - 兼容性。现在,当您在设计器中进行更改时,会在报表的每个字段中自动生成uuid属性,只需在打开XML视图之前保存报表即可将其删除。

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.

这篇关于如何在碧玉报告中解决uuid问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆