Node.getTextContent() is undefined in Node

Romi picture Romi · May 11, 2011 · Viewed 26.5k times · Source

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.

Answer

mani picture mani · Feb 2, 2016

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