eclipse 中如果加入了其他xfire等其他xml解析包的话,使用org.w3c.dom.Node下的getTextContent()方法出现The method getTextContent() is undefined for the type Node提示,
解决办法如下:
project --> properties -->java bulid path --> order and export 把JRE System 提升到顶部即可,前提是jdk是1.5以上版本
eclipse 中如果加入了其他xfire等其他xml解析包的话,使用org.w3c.dom.Node下的getTextContent()方法出现The method getTextContent() is undefined for the type Node提示,
解决办法如下:
project --> properties -->java bulid path --> order and export 把JRE System 提升到顶部即可,前提是jdk是1.5以上版本