Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Node.getTextContent() is undefined in Node

Tags:

In my project I am facing a problem stating

The method getTextContent() is undefined for the type Node

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

like image 347
Romi Avatar asked May 11 '11 12:05

Romi


2 Answers

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

like image 116
mani Avatar answered Oct 31 '22 16:10

mani


Java Build Path -> Order and Export tab, selected the JRE. Clicked the "UP" button to move it to the upper.

like image 37
CihangirT Avatar answered Oct 31 '22 17:10

CihangirT