maven报brors occurred during the build

原因分析:

此问题一般发生在eclipse保存文件并自动部署时候。本人在写项目的时候,还没等部署好,关闭了了eclipse,结果出现了这种情况。有一种产生此错误的原因是因为此项目不不是由eclipse创建的,需要检查.project 文件,并且添加com.genuitec.eclipse.j2eedt.core.webnature。

解决方法:

1、首先关闭eclipse工作空间。
2、然后删除工作空间下的“/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.ui.prefs”

时间: 2024-11-05 22:06:58

maven报brors occurred during the build的相关文章

打开Myeclipse时遇到了如下报错: ‘Building workspace’ has encountered a problem. Errors occurred during the build.

问题描述: 打开Myeclipse时遇到了如下报错: 'Building workspace' has encountered a problem. Errors occurred during the build. 解决方法: 1,关闭当前工作空间,即关闭MyEclipse. 2,找到工作空间如下路径的文件: "/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.ast.deploy.core.

Maven报错 解决方案。ERROR: No goals have been specified for this build. You must specify a valid lifecycle

Maven报错 解决方案.ERROR: No goals have been specified for this build. You must specify a valid lifecycle 报错: [ERROR] No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal>

Maven报错“未结束的字符串字面值” “需要为 class、interface 或 enum”等

eclipse里面编译完全正常,mvn clean install 这么惨的错误: Compilation failure: [ERROR] *.java:[38,27] 未结束的字符串字面值 [ERROR] *.java:[38,53] 需要 ';' [ERROR] *.java:[41,19] 需要 ')' [ERROR] *.java:[41,12] 不是语句 [ERROR] *.java:[41,23] 需要 ';' [ERROR] *.java:[41,26] 不是语句 [ERROR]

解决Maven报Plugin execution not covered by lifecycle configuration

环境 eclipse 4.3.0 maven 3.0.4 m2e 1.4.0 出现场景 以前的老项目,在我的环境(我的环境较新)下,别人老环境不报错. 错误示例 一个错误示例,子项目引用了父项目,子项目parent标签处报错如下: Multiple annotations found at this line: - maven-enforcer-plugin (goal "enforce") is ignored by m2e. - Plugin execution not cover

maven报 Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile(defalut-compile) on project 项目名称:No such compile &#39;javac&#39;

这个问题纠结了一天,在另外一个电脑是正常的,但是从服务器下载下来到另外一个电脑的时候却出现了如下图问题 看到javac大家都会想到是编译出现问题,而本地的配置如下图所示: 看着配置都是一致的,会是哪里的问题呢?经网上咨询有个大神说是可能是maven没有配置指定的jdk原因,原因如下: maven是个项目管理工具,如果我们不告诉它我们的代码要使用什么样的jdk版本编译的话,它就会用maven-compiler-plugin默认的jdk版本来进行处理,这样就容易出现版本不匹配的问题,以至于可能导致编

Errors occurred during the build. Errors running builder &amp;#39;JavaScript Validator&amp;#39; on

eclipse又一次编译时候就会报错Errors occurred during the build. Errors running builder 'JavaScript Validator' on.如图: 解决的方法是:项目右键--properties---builders---javascript validator 如图: Errors occurred during the build. Errors running builder 'JavaScript Validator' on

Errors occurred during the build. Errors running builder &#39;JavaScript Validator&#39; on

eclipse重新编译时候就会报错Errors occurred during the build. Errors running builder 'JavaScript Validator' on.如图: 解决办法是:项目右键--properties---builders---javascript validator 如图: Errors occurred during the build. Errors running builder 'JavaScript Validator' on

Errors occurred during the build. Errors running builder &#39;Checkstyle Builder&#39; on project

不了解CheckStyle的话请先自行百度. 更换了新的Eclipse,在使用CheckStyle检查代码的时候发现总是报错如下: Errors occurred during the build. Errors running builder 'Checkstyle Builder' on project 'AAA'. Fileset from project "AAA" has no valid check configuration. -- 解决办法: 1.首先确认你使用的Che

maven报错 Failure to transfer org.apache.maven.plugins:maven-compiler-plugin:pom:3.5.0 from

maven报错误,类似于: Failure to transfer org.apache.maven.plugins:maven-compiler-plugin:pom:3.5.0 from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elaps