it seems above version 4.5, these two jars are problematic, because they are both declared for handling XML documents.
The following code has problem with it, because sometimes it uses xmlparsev2.jar instead of xerces.jar, which results in different objects.
f.dbf = this.signerLoader.create(“javax.xml.parsers.DocumentBuilderFactory”);
f.dbf = f.dbf.newInstance();
The soulution is removing the file /META-INF/services/javax.xml.parsers.DocumentBuilderFactory from xmlparsev2.jar.
Can you please fix this ?
This has already been posted in the link above but I’m not sure, if the xerces jar is the same, but solution worked.