"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsdcould not be resolved: org.apache.maven:maven-project:jar:2.0.6, org.apache.maven:maven</
我正在开发一个运行在Tomcat上的基于Maven的Web应用程序。我正在尝试将log4j2依赖项添加到maven项目中。但是,当我试图构建我的项目时,会出现底部的错误。我试图在本地安装log4j依赖项,但两者都无法工作。我想重新安装Maven,但不知怎么的,我只能禁用它。如果您需要更多的信息,请告诉我,以便我可以提供。cd C:\.../maven2): Failed to transfer file: http://repo
/maven2 was cached in the local repository, resolution will not be reattempted until the update intervalor updates are forced -> [Help 1][ERROR] To see the full stack trace of the errors, re-run Maven[ERROR] Re-run Maven using the -X switch to enable full
Re-run Maven using the -X switch to enable full debug logging.我还尝试以所有可能的方式创建项目(maven来自bash,maven原型来自netbeans…)。但是,如果我使用vaadin-原型-洁净创建了一个maven项目,就像我所理解的那样,没有自定义的插件,所有这些都能工作。
我在问我为什么以及如何解决这个问题。我认为maven无法解决依赖关系,也许我的pom.xml
or updates are forced -> [Help 1][ERROR] To see the full stack trace of the errors, re-run Maven[ERROR] Re-run Maven using the -X switch to enable full debug logging.solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/
下载maven依赖项时,我得到以下错误Failed to read artifact descriptor for org.springframework.boot:spring-boot-maven-plugin:jar:2.1.7.RELEASE:
Could not transfer artifact org