org.w3c.dom.Node.getTextContent()方法编译错误。
在项目的Java Build Path | Order and Export选项卡中,将JRE System Library选中,并Top置顶。然后再进行编译即可。
Java Build Path | Order and Export
JRE System Library
Top
参考: https://blog.csdn.net/maoxiao1229/article/details/51694553