草庐IT

DeepNodeListImpl

全部标签

java.lang.ClassCastException,无法转换 DeepNodeListImpl

这是我的代码:publicvoidLogin(){try{DocumentBuilderFactorybuilderfactory=DocumentBuilderFactory.newInstance();DocumentBuilderdb=builderfactory.newDocumentBuilder();Filepath=newFile("src/dataPengguna/dataPengguna.xml");Documentdoc=db.parse(path);Elementpengguna=(Element)doc.getElementsByTagName("penggun