Errors running builder 'DeploymentBuilder' on project

來源:互聯網
上載者:User

標籤:

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

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.