Node.getTextContent() 在 Node 中未定义 [英] Node.getTextContent() is undefined in Node

查看:26
本文介绍了Node.getTextContent() 在 Node 中未定义的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的项目中,我遇到了一个问题,说明

In my project I am facing a problem stating

getTextContent() 方法是未定义节点类型

The method getTextContent() is undefined for the type Node

我目前使用的是 jdk 1.5,谁能告诉我这是关于什么的.

I am currently using jdk 1.5, can anybody tell me what this is about.

推荐答案

如果您在 Eclipse 中遇到这个问题,我测试的解决方案是:Java Build PathOrder and Export,选择JRE System Library移到Top

If you are getting this problem in Eclipse, my tested solution would be: Java Build PathOrder and Export, select JRE System Library and move it to Top

这篇关于Node.getTextContent() 在 Node 中未定义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆