1. 程式人生 > >The method getTextContent() is undefined for the type Node 錯誤解決

The method getTextContent() is undefined for the type Node 錯誤解決

eclipse 中 如果加入了 其他了xfire 等其他xml解析包的話,使用org.w3c.dom.Node下的getTextContent()方法會出現The method getTextContent() is undefined for the type Node 提示,解決方法如下:

選擇專案名稱 右鍵

把JRE System 提升到頂部。