BasicParserPool parserPool = new BasicParserPool(); DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory.newInstance(); documentBuilderFactory.setNamespaceAware(true); parserPool.setNamespaceAware(true); parserPool.setBuilderFactory(documentBuilderFactory);这段代码中BasicParserPool需要引入哪个依赖包
时间: 2024-03-19 13:45:59 浏览: 49
获得JAXP中的DOM解析器-XML介绍ppt
这段代码需要引入Apache Jena的依赖包,具体依赖项为:
```
<dependency>
<groupId>org.apache.jena</groupId>
<artifactId>jena-arq</artifactId>
<version>3.17.0</version>
</dependency>
```
阅读全文