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中使用org.w3c.dom.Node.getTextContent()方法遇到的问题及解决方案。当项目中引入了xfire等XML解析包时,可能会出现方法未定义的错误提示。解决方法是调整JRE系统库的加载顺序。
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以上版本
104
1563

被折叠的 条评论
为什么被折叠?
