Home page

Tuesday, November 27, 2018

How to solve java.lang.NoSuchMethodError:

How to solve
java.lang.NoSuchMethodError:
com.google.common.util.concurrent.SimpleTimeLimiter.create(Ljava/util/concurrent/ExecutorService;)Lcom/google/common/util/concurrent/SimpleTimeLimiter;

Steps to resolve:
1. Open POM.xml
2. Find <groupId>com.google.guava</groupId>
3. Change version of guava from 21.0 to 23.0
4. Save the file and wait for project to update the jar

No comments:

Post a Comment