JreCompat is available in 2 locations which one is correct and how to fix this please?

120 Views Asked by At
The method's class, org.apache.tomcat.util.compat.JreCompat, is available from the following locations:

jar:file: .m2/repository/org/apache/tomcat/tomcat-util/9.0.13/tomcat-util-9.0.13.jar!/org/apache/tomcat/util/compat/JreCompat.class
jar:file: .m2/repository/org/apache/tomcat/embed/tomcat-embed-core/9.0.41/tomcat-embed-core-9.0.41.jar!/org/apache/tomcat/util/compat/JreCompat.class

The class hierarchy was loaded from the following locations:

org.apache.tomcat.util.compat.JreCompat: file: .m2/repository/org/apache/tomcat/tomcat-util/9.0.13/tomcat-util-9.0.13.jar

Action:

Correct the classpath of your application so that it contains a single, compatible version of org.apache.tomcat.util.compat.JreCompat

0

There are 0 best solutions below