pom文件第一行报错<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSc
2016-11-05 13:34
435 查看
解决方法:
首先确定你的电脑是否可以连接网络。
如果可以连接网络,在maven的本地库的路径下执行以下命令:
打开cmd运行进入maven仓库如这是我的maven下载下来包的路径:F:\IDE\apache-maven-3.2.1-bin\maven_jar进入后输入以下命令回车,会看到很多信息
最后,项目右键->maven4Myeclipse->update Project...尝试刷新maven工程,看是否可以成功
首先确定你的电脑是否可以连接网络。
如果可以连接网络,在maven的本地库的路径下执行以下命令:
打开cmd运行进入maven仓库如这是我的maven下载下来包的路径:F:\IDE\apache-maven-3.2.1-bin\maven_jar进入后输入以下命令回车,会看到很多信息
for
/r
%i
in
(*.lastUpdated)
do
del %i
最后,项目右键->maven4Myeclipse->update Project...尝试刷新maven工程,看是否可以成功
相关文章推荐
- hibernate 注解配置<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/X
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance(xsi:schemaLocation详解)
- xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance(xsi:schemaLocation详解)
- Failure to transfer org.apache.maven:maven-archiver:pom:2.5.0 from http://repo1.maven.org/maven2 was
- Eclipse m2e pom报错:org.apache.maven.archiver.MavenArchiver.getManifest(org.apache.maven.project.Mav
- Failure to transfer org.apache.maven: maven-artifact-manager:pom:2.0.6 from http://repo.maven.apache
- html xmlns="http://www.w3.org/1999/xhtm的解释
- <html xmlns="http://www.w3.org/1999/xhtml">是啥?
- maven错误一(http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException)
- Eclipse m2e pom报错:org.apache.maven.archiver.MavenArchiver.getManifest(org.apache.maven.project.Mav
- <html xmlns="http://www.w3.org/1999/xhtml">
- asp.net页面间传值的几种方法 表单提交 传送页面代码 复制代码 <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server
- 异常Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.12.4 from http://maven.al
- eclipse导入Maven工程Failure to transfer org.apache.maven:maven-archiver:pom:2.4.1 from http://repo.mave
- Failure to transfer org.apache.maven:maven-archiver:pom:2.5 from http://repo.maven.apache.org/ maven2 was cached in the local repository, resolution will not be reattempted until the update interv
- Maven 工程报错Failure to transfer org.codehaus.plexus:plexus-io:pom:1.0.1 from http://repo.maven.apache.
- Eclipse中搭建maven project出现The superclass "javax.servlet.http.HttpServlet" was not found on the Java
- Project configuration is not up-to-date with pom.xml. Run Maven->Update Project or use Quick Fix.
- eclipse加载maven工程提示pom.xml无法解析org.apache.maven.plugins:maven-resources-plugin:2.4.3解决方案
- eclipse安装maven插件开发WEB项目,解决错误:Failure to transfer org.apache.maven.plugins:maven-resources-plugin:pom