SAXParserFactoryImpl cast SAXParserFactory异常

Caused by: java.lang.ClassCastException: com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl cannot be cast to javax.xml.parsers.SAXParserFactory

可增加注解

@PowerMockIgnore({“javax.management.", "javax.xml.parsers.”,

"com.sun.org.apache.xerces.internal.jaxp.*", "ch.qos.logback.*", "org.slf4j.*"})@[TOC](这里写自定义目录标题)

你可能感兴趣的:(SAXParserFactoryImpl cast SAXParserFactory异常)