[RESOLVIDO] iReport 4.8.0 - erro ao reabrir o arquivo / projeto em andamento

BOM DIA!
No iReport (tanto versões 4.1.0, como outras … até 4.8.0) crio um relatório e quando o tento abrir novamente … dá erro de compilação … constanto o erro na linha 2 coluna 438 (exatamente a última coluna da linha 2). A linha 2 consta nela toda o seguinte código:

<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="report name" pageWidth="595" pageHeight="842" columnWidth="535" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="9056459d-b0d7-4632-9d7c-4b92afb54e4c">

O código de erro que aparece é:

Error loading the report template: org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 438; cvc-complex-type.3.2.2: O atributo 'uuid' não pode aparecer no elemento 'jasperReport'.

<?xml version="1.0" encoding="UTF-8"?>
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="report name" pageWidth="595" pageHeight="842" columnWidth="535" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="9056459d-b0d7-4632-9d7c-4b92afb54e4c">
	<property name="ireport.zoom" value="1.2100000000000002"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="0"/>
	<queryString>
		<![CDATA[SELECT DISTINCT  cl.idPeriodoLetivo,cl.idEscola,e.nome nomeEscola,pt.idFuncionario,f.nome nomeProfessor,pt.idFuncionario,a.idCidadao,c.nome nomeCidadao,DATE_FORMAT(c.dtNasc, '%d/%m/%Y') AS dtNasc,c.idSexo,c.idStatus idStatusCidadao,a.idAvaliacao,at.idTurma,cl.idEscola,cl.idClasse,cl.idSerie,CONCAT(s.descrSerie,':',cl.descrClasse,' (',LOWER(cl.descrTurno),')') AS classe,DATE_FORMAT(a.dtHrCad,  '%d/%m/%Y %H:%m' ) AS dtHrCad,DATE_FORMAT(a.dtHrUpdate,  '%d/%m/%Y %H:%m' ) AS dtHrUpdate,a.obs,t.descrTurma,pa1.idPeriodoAv idPeriodoAv1,pa1.descrPeriodo descrPeriodo1,pa1.ordem ordem1,pa1.idStatus idStatusPeriodo1,sa1.idStatusAv idStatusAv1,sa1.siglaStatus siglaStatus1,sa1.descrStatusAv descrStatusAv1,pa2.idPeriodoAv idPeriodoAv2,pa2.descrPeriodo descrPeriodo2,pa2.ordem ordem2,pa2.idStatus idStatusPeriodo2,sa2.idStatusAv idStatusAv2,sa2.siglaStatus siglaStatus2,sa2.descrStatusAv descrStatusAv2,pa3.idPeriodoAv idPeriodoAv3,pa3.descrPeriodo descrPeriodo3,pa3.ordem ordem3,pa3.idStatus idStatusPeriodo3,sa3.idStatusAv idStatusAv3,sa3.siglaStatus siglaStatus3,sa3.descrStatusAv descrStatusAv3,pa4.idPeriodoAv idPeriodoAv4,pa4.descrPeriodo descrPeriodo4,pa4.ordem ordem4,pa4.idStatus idStatusPeriodo4,sa4.idStatusAv idStatusAv4,sa4.siglaStatus siglaStatus4,sa4.descrStatusAv descrStatusAv4 FROM cidadao c INNER JOIN alunoclasse ac ON c.idCidadao = ac.idCidadao INNER JOIN classe cl ON ac.idClasse = cl.idClasse INNER JOIN escola e ON cl.idEscola = e.idEscola INNER JOIN serie s ON cl.idSerie = s.idSerie INNER JOIN avaliacao a ON c.idCidadao = a.idCidadao LEFT JOIN periodoavaliativo pa1 ON (pa1.ordem=1 AND pa1.idPeriodoLetivo=cl.idPeriodoLetivo) LEFT JOIN statusavaliativo sa1 ON a.idSttPa1 = sa1.idStatusAv LEFT JOIN periodoavaliativo pa2 ON (pa2.ordem=2 AND pa2.idPeriodoLetivo=cl.idPeriodoLetivo) LEFT JOIN statusavaliativo sa2 ON a.idSttPa2 = sa2.idStatusAv LEFT JOIN periodoavaliativo pa3 ON (pa3.ordem=3 AND pa3.idPeriodoLetivo=cl.idPeriodoLetivo) LEFT JOIN statusavaliativo sa3 ON a.idSttPa3 = sa3.idStatusAv LEFT JOIN periodoavaliativo pa4 ON (pa4.ordem=4 AND pa4.idPeriodoLetivo=cl.idPeriodoLetivo) LEFT JOIN statusavaliativo sa4 ON a.idSttPa4 = sa4.idStatusAv INNER JOIN alunoturma at ON c.idCidadao = at.idCidadao INNER JOIN turma t ON (at.idTurma = t.idTurma AND t.idPeriodoLetivo = cl.idPeriodoLetivo) INNER JOIN professorturma pt ON t.idTurma = pt.idTurma INNER JOIN funcionario f ON pt.idFuncionario = f.idFuncionario WHERE  cl.idSerie = 154 AND a.idSttPa1 IN(6) AND a.idSttPa2 IN(8) GROUP BY cl.idPeriodoLetivo,cl.idEscola,t.idTurma,pt.idFuncionario,a.idCidadao ORDER BY e.nome , f.nome , c.nome ASC]]>
	</queryString>
	<field name="idPeriodoLetivo" class="java.lang.Long">
		<fieldDescription><![CDATA[]]></fieldDescription>
	</field>
	<field name="idEscola" class="java.lang.Long">
		<fieldDescription><![CDATA[]]></fieldDescription>
	</field>
	<field name="nomeEscola" class="java.lang.String"/>
	<field name="idFuncionario" class="java.lang.Long">
		<fieldDescription><![CDATA[]]></fieldDescription>
	</field>
	<field name="nomeProfessor" class="java.lang.String"/>
	<field name="idCidadao" class="java.lang.Long">
		<fieldDescription><![CDATA[]]></fieldDescription>
	</field>
	<field name="nomeCidadao" class="java.lang.String"/>
	<field name="dtNasc" class="java.lang.String">
		<fieldDescription><![CDATA[]]></fieldDescription>
	</field>
	<field name="idSexo" class="java.lang.Long">
		<fieldDescription><![CDATA[]]></fieldDescription>
	</field>
	<field name="idStatusCidadao" class="java.lang.Long"/>
	<field name="idAvaliacao" class="java.lang.Long">
		<fieldDescription><![CDATA[]]></fieldDescription>
	</field>
	<field name="idTurma" class="java.lang.Long">
		<fieldDescription><![CDATA[]]></fieldDescription>
	</field>
	<field name="idClasse" class="java.lang.Long">
		<fieldDescription><![CDATA[]]></fieldDescription>
	</field>
	<field name="idSerie" class="java.lang.Long">
		<fieldDescription><![CDATA[]]></fieldDescription>
	</field>
	<field name="classe" class="java.lang.String"/>
	<field name="dtHrCad" class="java.lang.String">
		<fieldDescription><![CDATA[]]></fieldDescription>
	</field>
	<field name="dtHrUpdate" class="java.lang.String">
		<fieldDescription><![CDATA[]]></fieldDescription>
	</field>
	<field name="obs" class="java.lang.String">
		<fieldDescription><![CDATA[]]></fieldDescription>
	</field>
	<field name="descrTurma" class="java.lang.String">
		<fieldDescription><![CDATA[]]></fieldDescription>
	</field>
	<field name="idPeriodoAv1" class="java.lang.Long"/>
	<field name="descrPeriodo1" class="java.lang.String"/>
	<field name="ordem1" class="java.lang.Long"/>
	<field name="idStatusPeriodo1" class="java.lang.Integer"/>
	<field name="idStatusAv1" class="java.lang.Long"/>
	<field name="siglaStatus1" class="java.lang.String"/>
	<field name="descrStatusAv1" class="java.lang.String"/>
	<field name="idPeriodoAv2" class="java.lang.Long"/>
	<field name="descrPeriodo2" class="java.lang.String"/>
	<field name="ordem2" class="java.lang.Long"/>
	<field name="idStatusPeriodo2" class="java.lang.Integer"/>
	<field name="idStatusAv2" class="java.lang.Long"/>
	<field name="siglaStatus2" class="java.lang.String"/>
	<field name="descrStatusAv2" class="java.lang.String"/>
	<field name="idPeriodoAv3" class="java.lang.Long"/>
	<field name="descrPeriodo3" class="java.lang.String"/>
	<field name="ordem3" class="java.lang.Long"/>
	<field name="idStatusPeriodo3" class="java.lang.Integer"/>
	<field name="idStatusAv3" class="java.lang.Long"/>
	<field name="siglaStatus3" class="java.lang.String"/>
	<field name="descrStatusAv3" class="java.lang.String"/>
	<field name="idPeriodoAv4" class="java.lang.Long"/>
	<field name="descrPeriodo4" class="java.lang.String"/>
	<field name="ordem4" class="java.lang.Long"/>
	<field name="idStatusPeriodo4" class="java.lang.Integer"/>
	<field name="idStatusAv4" class="java.lang.Long"/>
	<field name="siglaStatus4" class="java.lang.String"/>
	<field name="descrStatusAv4" class="java.lang.String"/>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band height="70" splitType="Stretch"/>
	</title>
	<pageHeader>
		<band height="46" splitType="Stretch">
			<elementGroup>
				<textField>
					<reportElement uuid="9294ee1d-3233-445d-aa49-b80b5c961529" x="90" y="0" width="340" height="20"/>
					<textElement verticalAlignment="Middle" markup="none"/>
					<textFieldExpression><![CDATA[$F{nomeEscola}]]></textFieldExpression>
				</textField>
			</elementGroup>
			<staticText>
				<reportElement uuid="36e9887f-a16e-4803-81f1-e3fae29d65ec" x="0" y="0" width="90" height="20"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="9" isBold="true"/>
				</textElement>
				<text><![CDATA[      ESCOLA:]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement uuid="9294ee1d-3233-445d-aa49-b80b5c961529" x="53" y="20" width="237" height="20" isPrintWhenDetailOverflows="true"/>
				<textElement verticalAlignment="Middle" markup="none"/>
				<textFieldExpression><![CDATA[$F{descrTurma}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement uuid="36e9887f-a16e-4803-81f1-e3fae29d65ec" x="0" y="20" width="53" height="20"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="9" isBold="true"/>
				</textElement>
				<text><![CDATA[TURMA:]]></text>
			</staticText>
		</band>
	</pageHeader>
	<columnHeader>
		<band height="31" splitType="Stretch">
			<rectangle radius="10">
				<reportElement uuid="c9bb7406-f28c-4b3c-a0b2-5d3c9caca069" x="0" y="0" width="555" height="20"/>
			</rectangle>
			<staticText>
				<reportElement uuid="36e9887f-a16e-4803-81f1-e3fae29d65ec" x="0" y="0" width="226" height="20"/>
				<textElement verticalAlignment="Middle">
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[           cidadão]]></text>
			</staticText>
			<staticText>
				<reportElement uuid="39fab297-f756-48d6-a468-e9ba6c0fc21b" x="226" y="0" width="89" height="20"/>
				<textElement verticalAlignment="Middle">
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[     classe]]></text>
			</staticText>
			<textField>
				<reportElement uuid="5132c917-7160-4182-ab61-a3de12fd0e22" x="495" y="0" width="60" height="20"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="8" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{descrPeriodo4}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="d3a8e230-f310-4899-b1a7-aa6595efe2b3" x="435" y="0" width="60" height="20"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="8" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{descrPeriodo3}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="6ccd57e3-5980-4f27-8918-15bb84c5f4e7" x="375" y="0" width="60" height="20"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="8" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{descrPeriodo2}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="6dd5151d-70a8-4288-af1d-fb4dc1737ef6" x="315" y="0" width="60" height="20"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="8" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{descrPeriodo1}]]></textFieldExpression>
			</textField>
		</band>
	</columnHeader>
	<detail>
		<band height="25" splitType="Stretch">
			<rectangle radius="10">
				<reportElement uuid="2b300c25-06e2-489e-8e86-12d556523974" x="0" y="0" width="555" height="20"/>
			</rectangle>
			<textField isBlankWhenNull="true">
				<reportElement uuid="676a8480-80e5-4e84-9286-cc3411356d96" x="0" y="0" width="226" height="20"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[        $F{nomeCidadao}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement uuid="bb3536a3-b45f-4dd5-ae74-6d5c64b3244b" x="226" y="0" width="89" height="20"/>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{classe}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement uuid="760f11fb-0a55-404a-b18b-1202cdbddf04" x="315" y="0" width="60" height="20"/>
				<textElement textAlignment="Center" verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$F{siglaStatus1}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement uuid="90831ef2-13fd-4f1b-b799-63778c81f3d3" x="375" y="0" width="60" height="20"/>
				<textElement textAlignment="Center" verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$F{siglaStatus2}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement uuid="4d20f072-7238-434a-bdf8-124de50b389f" x="495" y="0" width="60" height="20"/>
				<textElement textAlignment="Center" verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$F{siglaStatus4}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement uuid="e4dcd4a9-1867-4e25-bdfd-c706bcead0ec" x="435" y="0" width="60" height="20"/>
				<textElement textAlignment="Center" verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$F{siglaStatus3}]]></textFieldExpression>
			</textField>
		</band>
	</detail>
	<columnFooter>
		<band height="4" splitType="Stretch"/>
	</columnFooter>
	<pageFooter>
		<band height="39" splitType="Stretch">
			<textField>
				<reportElement uuid="3b67326f-e283-450f-a1f5-3b2554ad4aa4" x="400" y="4" width="80" height="20"/>
				<textElement textAlignment="Right"/>
				<textFieldExpression><![CDATA["Page "+$V{PAGE_NUMBER}+" of"]]></textFieldExpression>
			</textField>
			<textField evaluationTime="Report">
				<reportElement uuid="1861c8f8-924c-49d8-90be-68b4b586c474" x="480" y="4" width="40" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
		</band>
	</pageFooter>
	<summary>
		<band height="6" splitType="Stretch"/>
	</summary>
</jasperReport>

Projeto em Java usando vRaptor, JDBC, MySql, jQuery, etc … desenvolvimento no ubuntu 12.04 64 bits.

Alguém saberia me informar como faço para debugar esse erro? por favor.
Obrigado

Atualize a sua lib para a mesma lib que o seu iReport está utilizando…
Passei por esse mesmo problema, quando verifiquei minha lib, ela estava com uma versão muito antiga. Fui na pasta de libs do iReport e peguei a que estava lá e coloquei no meu projeto e funcionou!

:smiley:

abri o iReport => fui em Ferramentas (tools), iReport, fonts => marquei todas as options.

depois … em Ferramentas (tools), iReport, classPath => marquei todas as options.

fechei o iReport e abri novamente … check mate… funcionou.

Valeu galera!!!

coloque [RESOLVIDO]

TRAVEI PESSOAL … por falta de hábito de postar dúvidas neste fórum … não sei onde coloca resolvido aqui … ou se simplesmente escrevo:[color=green] RESOLVIDO![/color]

kkkkkkkkkkkkkkkkkkkkk vá no primeiro tópico que você fez, clique em editar e no começo ou no final do assunto bote [RESOLVIDO]

vlw cara…boa sorte!