码迷,mamicode.com
首页 > 系统相关 > 详细

eclipse maven构建

时间:2017-03-23 14:42:21      阅读:243      评论:0      收藏:0      [点我收藏+]

标签:添加   apache   end   logs   mave   pen   eclips   version   ref   

run as --> maven install

1.No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?

无JDK编译环境,解决办法:添加JDK,注意保留JRE运行环境

技术分享

 

技术分享

2.Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test)

解决办法

(1)pom.xml

<plugin>
<groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId>
<version>${your.version}</version>
<configuration> <skip>true</skip> </configuration> </plugin>

(2)如果pom.xml没问题,则将本地仓库中org\apache\maven\surefire 目录下的内容删除,重新down Dependency试一下.

eclipse maven构建

标签:添加   apache   end   logs   mave   pen   eclips   version   ref   

原文地址:http://www.cnblogs.com/svili/p/6604420.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!