-
Notifications
You must be signed in to change notification settings - Fork 388
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
JasperReports 6.14.0 fails at Maven stage: "Could not find artifact com.lowagie:itext:jar:2.1.7.js8" #148
Comments
Actually, this modified version of iText 2.1.7 is available on this public repository: Please note that the pom.xml of the JasperReports library has a repository entry for that:
See it here: |
We are using JasperReports from MavenCentral directly, so that's probably why the Is it really necessary to depend on an additional repositories for dependencies of dependencies? |
We use a modified version of iText. It is not our own software and we modified it only under the terms of the LGPL license under which that version was published. It is not up to us to publish such modified version of iText in Maven Central repositories. |
Thanks for the help!
Would it be an option to use a current, maintained version of itext instead, or did the versions diverge too much?
Granted, perhaps it's more of a fault of Maven Central that it accepts artefacts with missing dependencies.
I guess another possibility would be to put the itext dependency in my Nexus manually? |
Not sure what you mean by "current, maintained version of iText", because iText 2.1.7 is no longer maintained. We had to stay with it because after 2.1.7, iText changed its license. |
Understood, thanks! |
can you provide more information about those modification in jr8 version? Thanks! |
Depending on your setup and / or transitive dependencies this may be not enough, you may need this in
|
Hi! I just found this ticket and it looks like a solution. @teodord can you please say, is there a way to use this modified version of iText 2.1.7 and get it from the public repo without creating the JFrog account? I can download .jar by hands, but my app can't download it using repo, just getting 403 error. I will be happy, if you will answer) |
I'm getting this error:
I'm using gradle 6.8 and the repository mentioned above is in already |
They are using their own itext version. See TIBCOSoftware/jasperreports#148
[ERROR] Failed to execute goal on project ride: Could not resolve dependencies for project com.rolandopalermo.fa Me podrian ayudar ya importe : jaspersoft-third-party http://jaspersoft.jfrog.io/jaspersoft/third-party-ce-artifacts/pero continua apareciendo el error. |
I think you need to use HTTPS for the URL nowadays: See we are using HTTPS in our pom.xml: |
I fix this issue by exclude the com.lowagie.text from jasperReport library and add it as other library
|
net.sf.jasperreports
jasperreports
6.20.5
Added this dependency in project and after that getting below Exception: JExcelApiExporter this class is not even included in my project |
Not sure what you mean by "JExcelApiExporter this class is not even included in my project". I hope this helps. PS: Ideally, you should first post on the discussion forums at https://community.jaspersoft.com/project/jasperreports-library/answers, because this is not a bug and because it does not have anything to do with the current tracker you added your comment to. |
it worked for me |
When including jasper-reports in Maven as a dependency, Maven fails to resolve as it can't find
com.lowagie:itext:jar:2.1.7.js8
.It seems as if JasperReports depends on a version of iText that is not available through public repositories.
The text was updated successfully, but these errors were encountered: