我的XML文件在第一行不包含?符号,我已经删除了它们。我的代码是 static Map<String,Object> repValues; static String mainRepositoryXML = "common.xml"; static public void setRepValues(){ String rootPath = Paths.get(".").toAbsolutePath().normalize().toString(); String path = rootPath + File.s...