ireport中报错

时间:2014-06-07 07:08:15   收藏:0   阅读:142

使用Ireport报表工具,修改已经存在的报表,修改前和修改中都是完全正常的,当保存退出后,再次打开时,报错

Error loading the report template:
org.xml.sax.SAXParseException:

cvc-enumeration-valid:

Value ‘null‘ is not facet-valid with respect to enumeration ‘[Stretch, Prevent, Immediate]‘.

It must be a value from the enumeration.

具体原因不明

关闭错误提示框后,以xml形式打开,将下列字段中的null改为Stretch保存,一切正常

<background>
  <band splitType="null"/>
</background>
<title>
  <band height="842" splitType="null">

不知道为什么,在修改之前应该是没问题的,不知道为什么splitType字段的值会自己变为null,但是手动改回来以后,以后不会再出现类似问题

ireport中报错,布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!