The method getTextContent() is undefined for the type Node解決方法

問題描述

    MyEclipse或Eclipse導入項目或新建項目時,若項目中含有xml解析,會報The method getTextContent() is undefined for the type Node錯誤。

解決方法

    項目---右鍵---Build Path----Configure Build Path ---Order and Export。

     選中JRE System,然後點擊Top。

     點擊Apply--Apply and Close。即可

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章