天天看點

The method getTextContent() is undefined for the type Node The method getTextContent() is undefined for the type Node

The method getTextContent() is undefined for the type Node

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

project-->properties->java build path-->order and export  把JRE System 提升到頂部既可,前提記得是java版本是jdk1.5以上

繼續閱讀