Node.getTextContent() is undefined in Node

前端 未结 6 1776

In my project I am facing a problem stating

The method getTextContent() is undefined for the type Node

I am currently using jdk

6条回答
  •  没有蜡笔的小新
    2021-02-02 13:40

    As there are lot of class named Node in the JVM, I would say that you imported the wrong one. Check your imports, verify this is the class you really want to use and try again.

提交回复
热议问题