The method getTextContent() is undefined for the type Node


eclipse 中 如果加入了 其他了xfire 等其他xml解析包的話,使用org.w3c.dom.Node下的getTextContent()方法會出現The method getTextContent() is undefined for the type Node 提示,解決方法如下:

project-->properties->java build path-->order and export  把JRE System 提升到頂部既可,前提記得是java版本是jdk1.5以上


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM