Skip to content

Outdated Guava causing binary incompatibility #136

@peterfigure

Description

@peterfigure

Describe the problem

Exception in thread "main" java.lang.NoSuchMethodError: 'com.google.common.cache.CacheBuilder com.google.common.cache.CacheBuilder.expireAfterWrite(java.time.Duration)'
   at com.auth0.jwk.GuavaCachedJwkProvider.<init>(GuavaCachedJwkProvider.java:54)
   at com.auth0.jwk.JwkProviderBuilder.build(JwkProviderBuilder.java:180)

Using the current version: 0.20.0 along with any recent version of the Google SDK (which brings in 31.0.x of Guava).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis points to a verified bug in the code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions