天天看點

安裝scala eclipse plugin導緻pom.xml editor打開失敗

一 問題描述

    在本機搭建了基于scala的eclipse plugin+scala2.10.3的開發環境, 但打開maven項目pom.xml檔案時,卻報空指針異常, pom editor打開失敗.

    查找了網上的一些資料,發現這是scala-ide-play2的一個bug導緻的.

    可以參考如下資訊:

    scala-ide-play2 version 0.4.0.v-2_10-201308021043-8c62ead breaks maven pom editor #176

    https://github.com/scala-ide/scala-ide-play2/issues/176

二:解決方案

   1.更新scala-ide-play2

   2.删除eclipse安裝目錄中plugins,features目錄中包含play的所有目錄及jar,重新啟動eclipse

   本人采用第二種方案,測試成功

三 異常資訊如下:

繼續閱讀