Maven异常_02_compile faile_Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project

异常:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project

原因:(1)可能给eclipse配了一个jre而不是jdk,(2)可能是jdk版本过低

解决:window->preferences->java->installed JREs ,发现配了一个假的jdk,它是一个jre。。。。。。。。

配上一个jdk后,问题就解决了

时间: 2024-08-14 10:34:07

Maven异常_02_compile faile_Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project的相关文章

解决Maven打包怪异异常:Failed to execute goal org.apache.maven.plugins:maven-resources-plugin

https://blog.csdn.net/itWMdevoloping/article/details/81238969 今天在使用maven打包时正常操作却报出了如题的错误: Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.6:resource...... 这个错误非常不容易遇到,找了半天不知道问题的原因在哪里,现在解决了记录下来万一大家遇到了方便处理, 这个错误出现的原因如下: 我们都知道在打

maven 编译出错 Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean

eclipse在使用maven的tomcat控件编译java程序时,报错 Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project **-web: Failed to clean project: Failed to delete E:\**\target\tomcat\logs\access_log 这类错误 出现这种错误,通常是由于您已启动了另

maven package:Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.5:test

项目pom.xml文件中添加: <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.4.2</version> <configuration> <skipTests>tru

使用idea maven打包项目 Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.0.2:resources

超级折磨人 在网上搜到的解决方案: 技术交流群 : 816227112 修改 和 <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>2.7</version> <dependencies> <dependency> <grou

解决maven项目 maven install失败 错误 Failed to execute goal org.apache.maven.plugins

1.Maven构建失败 Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin: 2.3.4 :compile ( default -compile) on project oecp: Compilation failure 2.解决方法:使用自己的jdk,记住是jdk,因为jdk里本身包含jre.而不是单纯的jre.本人初学者,表达肤浅,请看勿笑. 解决maven项目 maven install失败 错误 Fa

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 r

解决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 ( default-compile) on project oecp: Compilation failure 2.解决方法 把jdk换成自己安装的jdk 换后,再maven install就可以了

解决maven install报错信息(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 r

maven Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4

maven Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4 CreateTime--2018年4月19日17:40:06 Author:Marydon 1.异常明细: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) 表示的含义是:m