Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jasper report version #12

Open
matteoturra opened this issue Jul 18, 2019 · 3 comments
Open

Jasper report version #12

matteoturra opened this issue Jul 18, 2019 · 3 comments

Comments

@matteoturra
Copy link

Is there a parameter to specify the jasper version?

@tkofford
Copy link
Contributor

tkofford commented Apr 18, 2020

Yeah, I just got tripped up by this. Using latest version of jaspersoft studio 6.12.0 to modify/enhance existing jrxml report templates. However, when I integrated those templates in my main spring boot project, this plugin fails to compile the modified reports, throwing the following error:

Attribute 'textAdjust' is not allowed to appear in element 'textField'

Apparently, jaspersoft changed/renamed a textField property. What used to be isStretchWithOverflow="true" is now textAdjust="StretchHeight" as of jasper reports version 6.11.0.

However, this plugin is hard-coded to use jasper reports version 6.10.0. This is really a jaspersoft issue, but the inflexibility to specify a jasper reports version for the plugin makes it a real issue.

Perhaps there's a workaround? Otherwise, I would like to see a parameter to specify the jasper reports version in this plugin.

@viktorKhan
Copy link

I'm experiencing the same issue, is there any plan to solve this issue?

@klaskoski
Copy link

klaskoski commented Dec 4, 2020

I had the same issue. Got it working by forcing the newer jasper version.
It is not great but works for me
buildscript { configurations.all { resolutionStrategy { force "net.sf.jasperreports:jasperreports:6.11.0" } } }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants