java.lang.NoSuchMethodError: com.google.common.base.Preconditions.checkArgument
this error is that jar jar dependency conflicts need to remove duplicate dependencies
step 1: locate the jar where the class is located
IDEA quick search CTRL +c double click shift
locate the version to be deleted
locate the jar location of the specific class
then add the remove operation
in the pom file
Read More:
- java.lang.NoSuchMethodError Quote: javax.servlet.com Yeah. HttpServletRequest.isAsyncStarted ()Z
- java.lang.NoSuchMethodError: org.json.JSONObject.put(Java/lang/String; Java/util/Collection;) “209151;”
- Apache Groovy——java.lang.NoSuchMethodError: x.x.x: method <init>()V not found
- Error in idea compilation: java.lang.OutOfMemoryError Java heap space and java.lang.StackOverflowError
- Caused by: java.lang.ClassNotFoundException: com.alibaba.nacos.api.naming.NamingMaintainService
- java.lang.AbstractMethodError: Receiver class com.alibaba.cloud.sentinel.feign.SentinelContractHolde
- java.lang.Throwable: Substituted for the exception com.bea.xml.SchemaTypeLoaderException which lack
- Method threw ‘java.lang.NullPointerException‘ exception. Cannot evaluate com.sun.proxy.xxx
- Idea community version starts Tomcat to report error running ‘XXXXXX’: java.lang.NullPointerException
- Failed to read artifact descriptor for com.google.errorprone:javac:jar:9+181-r4173-1
- java.lang.AbstractMethodError:com.mysql.jdbc.Connection.isValid(I)Z
- [unity] Android package error java.lang.ClassNotFoundException Did not find class com.unity3d . player.MainActivity
- Error report in idea compilation Error:Android Dex : [Project] java.lang.OutOfMemoryError : GC overhead limit exceeded
- Solve Android studio connection dl.google.com Timeout problem
- java.lang.ClassNotFoundException : com.mysql.jdbc . driver project cannot connect to database, exception, lack of MySQL driver
- Exception in thread “main“ java.lang.ClassCastException: com.sun.proxy.$Proxy8 cannot be cast to XXX
- ubuntu-how to solve the error-Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release
- AS error: failed to find target with hash string’Google Inc.:Google APIs:21′ error solution
- Failed to resolve: com.se renegiant:common 1.5.20