on-internet
← Community

How to fix my Maven dependencies if methods from 'com.google.common.base.Stopwatch' are not found?

Stack Overflow ·

I use google cloud storage to read files from it. It's working when I build it from within Eclipse. But when I build it with maven, it compiles but fails at runtime. When I build with eclipse no runtime exceptions occur. I need help, see the exception after the build is conducted via Maven: java.lang.NoSuchMethodError: com.google.common.base.Stopwatch.createUnstarted()Lcom/google/common/base/Stopwatch; at com.google.appengine.tools.cloudstorage.RetryHelper.runWithRetries(RetryHelper.java:156) at com.google.appengine.tools.cloudstorage.GcsServiceImpl.getMetadata(GcsServiceImpl.java:132) Here is

Comments

Sign in or sign up to comment and upvote.

No comments yet.