關於Eclipse 報 org.w3c.dom.Node (getTextContent())錯誤

關於調用 org.w3c.dom.Node 中的 Node.getTextContent()報錯 由於新裝了jdk、jre 導致報了以上問題: 解決方法: 1:如圖找到Eclipse 中的 Java build puth 2:找到 JRE System Library 將其移動到 Web App Libraries 上方, 這樣編輯器首先會使用JRE 中的類. 3:重新編譯項目, 此問題解決~
相關文章
相關標籤/搜索