1:異常
The method getTextContent() is undefined for the type Element;
2:解決方法
右擊項目>Properties>Java build path>Order and export>選中你的JDK>Top
3:解決