getTextContent()方法出现The method getTextContent() is undefined for the type Node提示

来源:互联网 发布:windows脚本入门 编辑:程序博客网 时间:2024/05/16 06:58

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

阅读全文
0 0