天天看點

Myeclipse錯誤:Errors occurred during the build. Errors running builder 'Deployment

本文向大家講解了Myeclipse錯誤:Errors occurred during the build. Errors running builder 'DeploymentBuilder' on project ...解決方法 ,感興趣的同學參考下。

問題描述:

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

原因分析:

此問題一般發生在Myeclipse 儲存檔案并自動部署時候。本人在寫項目的時候,還沒等部署好,關閉了了myeclipse 10,結果出現了這種情況。有一種産生此錯誤的原因是因為此項目不不是由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”