Errors running builder 'DeploymentBuilder' on project

Posted 蒋孝愚

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Errors running builder 'DeploymentBuilder' on project相关的知识,希望对你有一定的参考价值。

Errors running builder ‘DeploymentBuilder‘ on project

1.修改java源代码后点击保存,IDE 自动编译并热部署,提示如下错误:

Errors occurred during the build.
Errors running builder ‘DeploymentBuilder‘ on project ‘项目名‘.
java.lang.NullPointerException

产生原因:

IDE勾选了自动编译部署,在部署调用时产生了异常。

解决办法:

取消myeclipse的自动部署:
右键点击项目 ->properties -> Builders ,将DeploymentBuilder勾选去除.

这样,系统将不会自动热部署,可点击工具栏的 Deploy Myeclipse j2ee ...进行手工部署.

 

2.

1、首先关闭MyEclipse工作空间。

2、然后删除工作空间下的

“/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.ast.deploy.core.prefs”

这个文件。在这个文件中存储了一些部署项目的信息。删了这个部署的项目的信息就没有错误了。

3、重启启动MyEclipse即可解决了。

以上是关于Errors running builder 'DeploymentBuilder' on project的主要内容,如果未能解决你的问题,请参考以下文章

Errors running builder 'JavaScript Validator' on project

Errors occurred during the build. Errors occurred during the build. Errors running builder 'Java

Eclipse运行程序报错: Errors running builder ‘Integrated External Tool Builder‘ on project

Errors running builder 'DeploymentBuilder' on project

解决Eclipse报errors running builder ‘javascript validator’ on project

Errors running builder 'JavaScript Validator' on project