java.lang.IllegalAccessError: tried to access method com.google.common.collect.MapMaker.makeComputingMap(Lcom/google/common/base/Function;)Ljava/util/concurrent/ConcurrentMap; from class com.google.inject.internal.Annotations$AnnotationChecker
at com.google.inject.internal.Annotations$AnnotationChecker.(Annotations.java:104)
at com.google.inject.internal.Annotations.(Annotations.java:122)
at com.google.inject.spi.InjectionPoint.(InjectionPoint.java:94)
at com.google.inject.spi.InjectionPoint$InjectableField.toInjectionPoint(InjectionPoint.java:440)
at com.google.inject.spi.InjectionPoint.getInjectionPoints(InjectionPoint.java:725)
at com.google.inject.spi.InjectionPoint.forInstanceMethodsAndFields(InjectionPoint.java:358)
at com.google.inject.spi.InjectionPoint.forInstanceMethodsAndFields(InjectionPoint.java:377)
at com.google.inject.internal.BindingBuilder.toInstance(BindingBuilder.java:84)
I know the method is marked as deprecated, but changing it's scope has resulted in other libraries with dependencies on it that haven't been updated; including Guice.
java.lang.IllegalAccessError: tried to access method com.google.common.collect.MapMaker.makeComputingMap(Lcom/google/common/base/Function;)Ljava/util/concurrent/ConcurrentMap; from class com.google.inject.internal.Annotations$AnnotationChecker at com.google.inject.internal.Annotations$AnnotationChecker.(Annotations.java:104) at com.google.inject.internal.Annotations.(Annotations.java:122) at com.google.inject.spi.InjectionPoint.(InjectionPoint.java:94) at com.google.inject.spi.InjectionPoint$InjectableField.toInjectionPoint(InjectionPoint.java:440) at com.google.inject.spi.InjectionPoint.getInjectionPoints(InjectionPoint.java:725) at com.google.inject.spi.InjectionPoint.forInstanceMethodsAndFields(InjectionPoint.java:358) at com.google.inject.spi.InjectionPoint.forInstanceMethodsAndFields(InjectionPoint.java:377) at com.google.inject.internal.BindingBuilder.toInstance(BindingBuilder.java:84)
I know the method is marked as deprecated, but changing it's scope has resulted in other libraries with dependencies on it that haven't been updated; including Guice.
relevance: 2