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以上

posted @ 2012-07-01 21:38  EdwardLau  阅读(19944)  评论(1编辑  收藏  举报