Exception in thread “main” java.lang.NoSuchMethodError: com.google.common.base.Preconditions.checkState(ZLjava/lang/String;Ljava/lang/Object;)

Finally, I found a solution for this. It’s simple guys. Add latest guava jar in your project. Note: If you have already old one jar (Please remove that and add it new one). Follow the link : mvnrepository.com/artifact/com.google.guava/guava/29.0-jre

Leave a Comment