首页 > 其他 > 详细

The method getTextContent() is undefined for the type Element

时间:2016-07-19 20:26:35      阅读:144      评论:0      收藏:0      [点我收藏+]

使用org.w3c.dom解析XML,有时可能会报错The method getTextContent() is undefined for the type Element/Node,这种情况可能是加入了其他的XML解析jar包。

解决方法如下:

  将Project->Properties->Java Build Path->Order and Export->JRE System Library移动到顶部(Top)

      技术分享

 

The method getTextContent() is undefined for the type Element

原文:http://www.cnblogs.com/jinjiyese/p/5685908.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!