Errors occurred during the build. Errors running builder 'DeploymentBuilder' on project 'myf'. java.

Errors occurred during the build. Errors running builder 'DeploymentBuilder' on project 'myf'. java.lang.NullPointerException



此问题一般发生在Myeclipse 保存文件并自动部署时候。
Errors occurred during the build.
Errors running builder 'DeploymentBuilder' on project'项目名'.
java.lang.NullPointerException
 
有一种产生此错误的原因是因为此项目不不是由myeclipse创建的。
所以你需要检查.project 文件。
并且添加com.genuitec.eclipse.j2eedt.core.webnature


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

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

你可能感兴趣的:(Errors occurred during the build. Errors running builder 'DeploymentBuilder' on project 'myf'. java.)