pom.xml错误-缺少工件com.lowagie:itext:jar:4.2.2,如何下载itext 4.2.2 jar文件?

问题描述 投票:0回答:1

我如何下载itext 4.2.2 jar用作旧项目,并在pom.xml中出错,我不想使用和更改itextpdf 5.x.x版本

错误-缺少工件com.lowagie:itext:jar:4.2.2

itext pom.xml
1个回答
0
投票

iText 4.2.2不存在,也从未作为jar存在。如果查看4.2.2(https://search.maven.org/artifact/com.lowagie/itext/4.2.2/pom)的Maven Central,将看到它仅作为对5.5.6的重定向而存在。我知道,因为我是编写该版本的POM并将其上传到Maven Central的人。这篇博客文章详细描述了[[为什么完成:https://itextpdf.com/en/blog/technical-notes/my-maven-build-broken-what-should-i-do

[要修复您的构建,您要么需要使用com.lowagie:itext:jar:2.1.7(iText Software的2.xx版本的最新正式发行版),要么可以使用com.itextpdf:itextpdf:jar:5.5.13.1,但是随后您还必须从[ C0]到com.lowagie.*,但除此之外,您的代码

应该

可以正常工作。相关问题:

© www.soinside.com 2019 - 2024. All rights reserved.