maven clean,install出错! 15
[INFO]Scanningforprojects...[ERROR]Thebuildcouldnotread1project->[Help1][ERROR][ERROR...
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.shopizer:sm-core-model:2.0.1-SNAPSHOT (E:\workspace\sm-core-model\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Failure to find com.shopizer:shopizer:pom:0.0.1-SNAPSHOT in http://maven.springframework.org/snapshot was cached in the local repository, resolution will not be reattempted until the update interval of org.springframework.maven.snapshot has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 7, column 10 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[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 read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException 展开
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.shopizer:sm-core-model:2.0.1-SNAPSHOT (E:\workspace\sm-core-model\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Failure to find com.shopizer:shopizer:pom:0.0.1-SNAPSHOT in http://maven.springframework.org/snapshot was cached in the local repository, resolution will not be reattempted until the update interval of org.springframework.maven.snapshot has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 7, column 10 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[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 read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException 展开
2个回答
展开全部
安装 Maven 之前要求先确定你的 JDK 已经安装配置完成。Maven是 Apache 下的一个项目,目前最新版本是 3.1.0,我用的也是这个。
首先去官网下载 Maven
下载完成之后将其解压,我将解压后的文件夹重命名成 maven,并将它放在 D:\Server 目录下,即 maven 最终的路径是:D:\Server\maven
配置 maven 环境变量:
系统变量:MAVEN_HOME = D:\Server\maven
用户变量:path = %MAVEN_HOME%\bin
相信大家都有配过环境变量的,详细步骤就不说了,对着把属性名和属性值配上的OK了。
首先去官网下载 Maven
下载完成之后将其解压,我将解压后的文件夹重命名成 maven,并将它放在 D:\Server 目录下,即 maven 最终的路径是:D:\Server\maven
配置 maven 环境变量:
系统变量:MAVEN_HOME = D:\Server\maven
用户变量:path = %MAVEN_HOME%\bin
相信大家都有配过环境变量的,详细步骤就不说了,对着把属性名和属性值配上的OK了。
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
2015-04-02
展开全部
pom报错吗?你的setting.xml文件正常吗?还有就是环境变量是不是加入了配置。望采纳,谢谢!
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询