The method getTextContent() is undefined for the type Element
来源:互联网 发布:韶关市政府网络问政 编辑:程序博客网 时间:2024/05/15 23:51
在导入项目过程中遇到了这个问题,
查看了一下调用的包,xml-apis-*.jar的org.w3c.dom.Element,这个类里面没有getTextContent方法。后来发现是rt.jar的org.w3c.dom包下面的Node.class类,所以是引用错误。
解决方法:在java build path的Order and export下,将jdk放到顶部,问题就解决了。
0 0
- The method getTextContent() is undefined for the type Element
- The method getTextContent() is undefined for the type Element
- The method getTextContent() is undefined for the type Element
- MyEclipse 下 the method getTextContent() is undefined for the type Element
- java异常 -The method getTextContent() is undefined for the type Element
- The method getTextContent() is undefined for the type Node
- The method getTextContent() is undefined for the type Node
- The method getTextContent() is undefined for the type Node
- The method getTextContent() is undefined for the type Node错误
- The method getTextContent() is undefined for the type Node
- The method getTextContent() is undefined for the type Node
- The method getTextContent() is undefined for the type Node
- The method getTextContent() is undefined for the type Node错误
- The method getTextContent() is undefined for the type NodeXMLParse.java
- The method getTextContent() is undefined for the type Node
- 解决方案:The method getTextContent() is undefined for the type Node
- The method getTextContent() is undefined for the type Node
- The method getTextContent() is undefined for the type Node
- 关于Oracle10g监听服务不能启动的问题
- AVPlayer视频播放的使用简介
- Kinect for Windows SDK开发入门(十九):Kinect Fusion
- Node.js教程地址
- 第一次写博客,这篇博客就写点自己想说的话吧
- The method getTextContent() is undefined for the type Element
- 手机web——自适应网页设计(html/css控制)
- String有3个用于字符替换的方法总结
- SQLServer JTDS 连接串格式
- PAT 1092. To Buy or Not to Buy(STL)
- 一位ACMer过来人的心得【ZT】
- App Store 上传更新报错的问题
- 在一个div上添加另外一个div:例如在一个div的左上角添加一个logo
- .htaccessc常用配置