无法通过以下方式了解创建软件包的maven依赖项

时间:2019-01-09 20:39:41

标签: java maven spring-boot maven-2

我正在尝试使用maven2创建我的spring-boot项目的软件包。在这里,我使用以下命令“ mvn package”创建我的包,但这给了我错误。请完整记录错误:

我已经尝试更新我正在使用的ldap和itextpdf等的依赖项,但是它们都不适合我。

C:\MyProject>mvn package
[INFO] Scanning for projects...
[INFO]
[INFO] ----------------------< com.tasklist:MyProject >-----------------------
[INFO] Building MyProject 1.0-SNAPSHOT
[INFO] --------------------------------[ war ]---------------------------------
[WARNING] The POM for com.lowagie:itext:jar:2.1.7.js5 is missing, no dependency
information available
[WARNING] The POM for org.olap4j:olap4j:jar:0.9.7.309-JS-3 is missing, no depend
ency information available
[WARNING] The POM for com.ldap.ldapfilt:ldap-filt-driver:jar:1 is missing, no de
pendency information available
[WARNING] The POM for com.ldap.ldapjdk:ldap-jdk-driver:jar:1 is missing, no depe
ndency information available
[WARNING] The POM for com.ldap.ldapsp:ldap-sp-driver:jar:1 is missing, no depend
ency information available
[WARNING] The POM for com.sybase.jdbc4:sybase-jdbc-driver:jar:4 is missing, no d
ependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  2.891 s
[INFO] Finished at: 2019-01-10T01:34:41+05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project MyProject: Could not resolve dependen
cies for project com.tasklist:MyProject:war:1.0-SNAPSHOT: The following artifac
ts could not be resolved: org.olap4j:olap4j:jar:0.9.7.309-JS-3, com.ldap.ldapfil
t:ldap-filt-driver:jar:1, com.ldap.ldapjdk:ldap-jdk-driver:jar:1, com.ldap.ldaps
p:ldap-sp-driver:jar:1, com.sybase.jdbc4:sybase-jdbc-driver:jar:4: Failure to fi
nd org.olap4j:olap4j:jar:0.9.7.309-JS-3 in https://repo.spring.io/libs-release w
as cached in the local repository, resolution will not be reattempted until the
update interval of spring-milestone has elapsed or updates are forced -> [Help 1
]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyReso
lutionException

我一直在使用上述命令创建软件包,并且以前一直都有效。但是,这次它不起作用。如果有人可以建议这里是什么问题。预先感谢。

0 个答案:

没有答案