通过DocumentBuilder对象的parse(String fileName)方法解析XML文件时传入的绝对路径为什么老是报错??
把docBuilder.parse(fileName)改成docBuilder.parse(new FileInputStream(fileName))就OK了