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 提示,解决方法如下:

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

在能不能成为之前,请先问自己 想不想成为 想要成为什么样的人 只要是迫切的想要成为,那你就是可以的!
原文地址:https://www.cnblogs.com/gara/p/6092991.html