解決java.net.MalformedURLException: unknown protocol: c問題

原代碼: DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); DocumentBuilder builder = factory.newDocumentBuilder(); Document document = builder.parse(xmlPath);\\直接將路徑名給builder 改進後的代碼:
相關文章
相關標籤/搜索