我正在开发这个演示项目 http://itextpdf.com/download.php当我尝试构建我的 api 时,我收到此错误消息(依赖项)。
Failed to execute goal on project book: Could not resolve dependencies for project
com.itextpdf:book:war:5.3.1-SNAPSHOT:
The following artifacts could not be resolved:
com.itextpdf:itextpdf:jar:5.3.1-SNAPSHOT,
com.itextpdf:itext-xtra:jar:5.3.1-SNAPSHOT,
com.itextpdf:itext-pdfa:jar:5.3.1-SNAPSHOT,
itext-pdfa:com.itextpdf:jar:5.3.1-SNAPSHOT:
Could not find artifact com.itextpdf:itextpdf:jar:5.3.1-SNAPSHOT -> [Help 1]
To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.
For more information about the errors and possible solutions, please read the following articles:
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
最佳答案
由于这是快照版本,因此可能不可供下载。您可以使用 5.3.0 version可以从 Maven Central 获得。
关于java - com.itextpdf :book:war:5. 3.1-SNAPSHOT:无法解析以下 Artifact :,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11725515/