eclipse maven install报错解决
2016-06-10 23:04
288 查看
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project preliminary.demo: Compilation failure
[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
[ERROR] -> [Help 1]
[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/MojoFailureException
Window ->preference->Java->Installed jres
update project
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project preliminary.demo: Compilation failure
[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
[ERROR] -> [Help 1]
[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/MojoFailureException
Window ->preference->Java->Installed jres
update project
相关文章推荐
- JavaSE复习_3 继承
- java8十大新特性浅谈
- Exception in thread "main" java.lang.RuntimeException: job failed: name=inject urls, jobid=job_local
- 专2-第二课 Eclipse开发环境搭建
- Spring创建对象的方式3种方式
- Java多线程中的生产者消费者模型
- java计算日期相差的天、时、分、秒
- struts2拦截器与过滤器
- struts2原理
- 梳理spring篇-Aop机制
- JavaAPI之AtomicInteger
- JavaI/O(一)--字符流
- 基于spring的文件上传--单文件上传
- Java(数据类型,数组表达,Unicode编码)
- 【Java】letter combinations of phone number
- java.util.concurrent.atomic软件包介绍
- [置顶] springMVC返回数据到页面的几种方式
- 【Java学习-J.160601.0.20】一个验证码的servlet
- Eclipse中新建jsp文件访问页面时乱码问题
- springMVC 获取请求参数的几种方式