I am having problems with having multiple classes with the same path (i.e. with the same name, same package !!!). For some reason, gwt-dev has its own version of org.apache.xerces.jaxp.DocumentBuilderFactoryImpl and javax.xml.parsers.DocumentBuilderFactory .
At the same time, spring also depends on these classes, but on different cans. I don't know what it should be, but it looks like xalan and xml-api - these are two dependencies that spring depends on (this dependency is optional)
It's funny that eclipse can run the same code (this is unit test) without problems, but surefire cannot. Therefore, I assume that the problem is related to how each runner considers the priority of each bank.
Now let's move on to the question: how to configure my POM so that I can make sure that someday some code works inside my application, then the class from jar will be selected from the class from another jar?
Thanks.
source share