How can I tell my application that it shouldn't use an external Service Provider from a jar?
- 阅读更多 关于 How can I tell my application that it shouldn't use an external Service Provider from a jar?
问题 For some reason we need the xdb.jar from the Oracle XDK. This jar depends on the xmlparserv2.jar. The actual problem is that the xmlparserv2.jar comes with some provider-configuration files (META-INF/services). The jar has Services Providers for javax.xml.transform.TransformerFactory , javax.xml.parsers.SAXParserFactory and javax.xml.parsers.DocumentBuilderFactory . The implementations (from oracle.*) don't work together with some other parts of our software (they need the standard factories)