0

当我尝试构建我的 api 时,我在这个演示项目http://itextpdf.com/download.php上工作,我有这个错误消息(依赖项)。

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
4

1 回答 1

1

由于这是 SNAPSHOT 版本,因此可能无法下载。您可以使用maven Central 提供的5.3.0 版本。

于 2012-07-30T17:22:51.533 回答