This is not a duplicate question as I tryied already solutions listed in the other related questions.
I need to modify a previous report which was developed with Jasper Studio 6.14.0.final. I didn’t find this version of Jasper Studio on web, so I downloaded the 7.0.0.to designe and modify the old report. In my pom I have:
<dependency>
<groupId>net.sf.jasperreports</groupId>
<artifactId>jasperreports</artifactId>
<version>6.10.0</version>
</dependency>
<dependency>
<groupId>net.sf.jasperreports</groupId>
<artifactId>jasperreports-fonts</artifactId>
<version>6.10.0</version>
</dependency>
enter code here
I get the following error with the new report:
cvc-complex-type.3.2.2: Attribute 'uuid' is not allowed to appear in element 'jasperReport'.: org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 245; cvc-complex-type.3.2.2: Attribute 'uuid' is not allowed to appear in element 'jasperReport'.
The problem is that even the old report already have the uuid parameter in the code, so it makes no sense that I have this error now. The structure of the code is the same.
If i elimnate all the uuid, I get other error on style attributes and so on.
I tryied so to upload the version of jasepr dependency in my pom:
<dependency>
<groupId>net.sf.jasperreports</groupId>
<artifactId>jasperreports</artifactId>
<version>7.0.0</version>
</dependency>
But then I get error on jackson-core dependency:Caused by: java.lang.NoClassDefFoundError: com/fasterxml/jackson/core/JacksonException
I tryied to insert into pom:
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.17.1</version> (tryied different versions)
</dependency>
But I keep getting compilation errors for versions conflict on jacksons dependency (i think I have other transient dependency)
Can someone help me at least ot understand what is going on here, and how can I solve this?
0