1
0
-1

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?

    CommentAdd your comment...

    2 answers

    1.  
      1
      0
      -1

      I have found it. When you have a blank report without bind to a query then the query tag is empty. You have to put a simple fake query (with a table from the joget database and not an undefined table)!!!

        CommentAdd your comment...
      1.  
        1
        0
        -1

        Hi, 

        have you tested the sample app here in this KB ?:
        JasperReports Menu#DownloadDemoApp

        Have a go with this app and see whether it works or not. 
        I am not sure on the Jasper Version that Joget is using. 
        However,
        It works on my end using Joget Cloud Version 8.1.2

          CommentAdd your comment...