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 提升到顶部。

posted @ 2018-11-21 13:41  夜月光雾  阅读(15)  评论(0编辑  收藏  举报