关于调用 org.w3c.dom.Node 中的 Node.getTextContent()报错

由于新装了jdk、jre 导致报了以上问题:


解决方法:
1:如图找到Eclipse 中的 Java build puth
关于Eclipse 报 org.w3c.dom.Node (getTextContent())错误

2:找到 JRE System Library 将其移动到 Web App Libraries 上方, 这样编辑器首先会使用JRE 中的类.
关于Eclipse 报 org.w3c.dom.Node (getTextContent())错误

3:重新编译项目, 此问题解决~

相关文章:

  • 2021-10-15
  • 2021-06-12
  • 2022-02-20
  • 2021-06-12
  • 2021-09-14
  • 2021-05-24
  • 2021-07-23
  • 2021-08-26
猜你喜欢
  • 2021-05-21
  • 2021-07-26
  • 2021-09-11
  • 2021-10-24
  • 2022-12-23
  • 2021-11-01
  • 2022-01-13
相关资源
相似解决方案