If I remove in build.gradle
implementation('net.sf.jodreports:jodreports:2.4.0')
the errors disappear, but I need that for my code to compile
If I use
implementation('net.sf.jodreports:jodreports:2.4.0') {
exclude group: 'xom'
}
it also works, but I need that too.
So I tried
implementation('xom:xom:1.3.9') {
exclude group: 'xml-apis'
}
implementation('net.sf.jodreports:jodreports:2.4.0') {
exclude group: 'xom'
}
but then the errors are back
Any idea how to solve?
Excluding org.w3c directly doesn't work either.
org.w3c.domand exclude it, or upgrade to a version that does include it. In any case, you may also want to try excluding xerces:xercesImpl from xom, as that dependency definitely includes the packageorg.w3c.dom.