I have a dependency coexistence here:
isNotNullValue() method exists in different jars in my Spring Boot application and this picture shows what I get for now:
As you can see, I have:
Which one should I import?
hamcrest-library is the right jar, but I am not sure.
Some guidelines to follow when:
- same method exists simultaneously in several jars, while some should be shadowed but not(like in
- same method exists in several different jars of same dependency, as in