Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile 解决办法
Maven install失败
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project autotest_fchtgl: 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
解决办法
1、Window > Preferences > Java > Installed JREs > 选择你的jdk安装路径(记得是jdk,不是jre)
2、在eclipse的菜单中,进入 Window > Preferences > Java > Installed JREs > Execution Environments,选择JavaSE-1.8, 在右侧选择 jdk.
然后我们再次尝试,就能成功了
本文链接:https://liuyanzhao.com/5743.html
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile 解决办法相关推荐
- 解决Failed to execute goal org.apache.maven.plugins
1.Maven构建失败 Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin: 2.3 . 2 :compile ...
- 针对Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1的解决方案
2019独角兽企业重金招聘Python工程师标准>>> 背景:本项目使用JDK1.8 编译maven工程的时候出现如下错误: Failed to execute goal org.a ...
- Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile)
完整的错误信息: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile ( ...
- 针对maven install 报错:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1 解决方案...
项目运行环境:jdk1.8+tomcat8 maven install 时报错:Failed to execute goal org.apache.maven.plugins:maven-compil ...
- 【maven install报错】Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.2:war
maven install报错如下: [INFO] Scanning for projects... [INFO] Downloading: http://xxx.xx.xx.x:xxxx/nexus ...
- 【maven install报错】Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
maven install之后报的错误如下: [INFO] Scanning for projects... [INFO] Downloading: http://xxx.xxx.xxx.xxx:xx ...
- maven install出错:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (d
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-c ...
- Maven打包时报Failed to execute goal org.apache.maven.plugins:maven-war-plugin:解决方案
问题现象: 用Maven打包时,报Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.2:war错误. 原因分析: 打 ...
- 解决:Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy)
前些天发现了一个巨牛的人工智能学习网站,通俗易懂,风趣幽默,忍不住分享一下给大家.点击跳转到教程. 1. 执行 mvn clean deploy ... 想把 jar 包更新到私服仓库,报错: Fai ...
- 解决 : Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
前些天发现了一个巨牛的人工智能学习网站,通俗易懂,风趣幽默,忍不住分享一下给大家.点击跳转到教程. 1. 执行 maven install 命令报错如题: Failed to execute goal ...
最新文章
- 伍六七带你学算法 入门篇-链表的中间节点
- 1小时教你做360度全景“小星球”效果图 Skillshare – Create a Panoramic ‘Little Planet’ from Anywhere
- poj3508(高精度模拟减法)
- C语言小知识点练习总结
- 在python中terminal中建立mysql数据库,无法再models.py 文件中建立数据库信息
- 数字化时代,阿里、京东们能否解决困扰市场已久的“倒奶问题”?
- 静态函数造成GC的原因
- 软件网络协议测试,网络协议测试方法是什么
- python字典是什么数据结构_Python常用数据结构——字典
- 使用pip安装opencv
- mysql csv存储引擎_2.2 mysql存储-CSV存储引擎
- CyclicBarrier(栅栏)实现高并发测试
- LeetCode刷题——455. 分发饼干
- 51单片机制作简易计算器(动态数码管、矩阵按键)
- eda交通灯控制器波形输入_交通灯控制器课程设计.doc
- 手把手教你如何做一套utm广告投放
- Win8.1开始菜单Classic Shell 4.0上手
- 智行买机票如何在线选座
- 使用Python对视频任意矩形区域进行裁剪
- 【Solidity】5.表达式和控制结构 - 深入理解Solidity
热门文章
- pie函数--Matplotlib
- Netty文章目录汇总
- Java并发系列—并发编程基础
- jQuery中的100个技巧
- 深入理解java的异常处理机制
- 多线程断点下载开发总结(一) - Http head Range标记
- 开机时提示F1continue, F2 setup
- Remoting事件序列一:客户端触发服务器端事件
- error: Unexpected trailing comma (comma-dangle) at src\components\Login.vue:99:4:
- 图数据库_多款业界流行图数据库对比