-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
What steps will reproduce the problem?
1. Setup a gradle java project with Guava 17.0 (uses RateLimiter) and jsontoken
1.1 (for use with google wallet JwtGenerater) and try to utilize the
RateLimiter.
What is the expected output? What do you see instead?
No problems should appear.
However, I see this:
Caused by: java.lang.NoSuchMethodError:
com.google.common.base.Platform.systemNanoTime()J
at com.google.common.base.Ticker$1.read(Ticker.java:60) ~[guava-17.0.jar:na]
at com.google.common.util.concurrent.RateLimiter$SleepingTicker$1.read(RateLimiter.java:718) ~[guava-17.0.jar:na]
at com.google.common.util.concurrent.RateLimiter.<init>(RateLimiter.java:333) ~[guava-17.0.jar:na]
at com.google.common.util.concurrent.RateLimiter.<init>(RateLimiter.java:89) ~[guava-17.0.jar:na]
at com.google.common.util.concurrent.RateLimiter$Bursty.<init>(RateLimiter.java:692) ~[guava-17.0.jar:na]
at com.google.common.util.concurrent.RateLimiter.create(RateLimiter.java:247) ~[guava-17.0.jar:na]
at com.google.common.util.concurrent.RateLimiter.create(RateLimiter.java:242) ~[guava-17.0.jar:na]
at com.laquinta.service.propertymaster.dao.TripAdvisorDAO.<init>(TripAdvisorDAO.java:84) ~[TripAdvisorDAO.class:na]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.8.0_05]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[na:1.8.0_05]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.8.0_05]
at java.lang.reflect.Constructor.newInstance(Constructor.java:408) ~[na:1.8.0_05]
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:148) ~[spring-beans-4.0.5.RELEASE.jar:4.0.5.RELEASE]
... 54 common frames omitted
What version of the product are you using? On what operating system?
Guava 17.0
jsontoken 1.1
Please provide any additional information below.
The problem appears to be that jsontoken uses the old collections jar instead
of guava. (http://jsontoken.googlecode.com/svn/trunk/pom.xml).
Original issue reported on code.google.com by grgs...@gmail.com on 8 Jul 2014 at 12:21
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels