jasper
Confluence User - 11 Jul, 2024
Hello. I have downloaded jasper studio community edition 7. I made a simple blank A4 report without records (not using a database) only with a "TEST" title just for the proof of concept. I took the jrxml and placed it in the joget "Jasper Reports Definition". When I try to preview it then it throws an error: "org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 208; cvc-complex-type.3.2.2: Attribute 'uuid' is not allowed to appear in element 'jasperReport'."
The jrxml is:
<!-- Created with Jaspersoft Studio version 7.0.0.final using JasperReports Library version 7.0.0-b478feaa9aab4375eba71de77b4ca138ad2f62aa --> <jasperReport name="Blank_A4" language="java" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="a5f8ae85-e81d-4a83-8078-8b7096794d2e"> <property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/> <query language="sql"><![CDATA[]]></query> <background splitType="Stretch"/> <title height="79" splitType="Stretch"> <element kind="staticText" uuid="f666d016-744c-4828-b0cd-7af31ba7f568" x="200" y="10" width="100" height="30"> <text><![CDATA[TEST]]></text> </element> </title> <pageHeader height="35" splitType="Stretch"/> <columnHeader height="61" splitType="Stretch"/> <detail> <band height="125" splitType="Stretch"/> </detail> <columnFooter height="45" splitType="Stretch"/> <pageFooter height="54" splitType="Stretch"/> <summary height="42" splitType="Stretch"/> </jasperReport>
I think that is a compatibility issue. Maybe the rendering jasper report engine that joget uses is older than jasper 7 edition. Should I download an older version of jasper studio?
jasper