java.lang.NoSuchMethodError: com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.<init>(Lcom/google/gson/internal/ConstructorConstructor;Lcom/google/gson/FieldNamingStrategy;Lcom/google/gson/internal/Excluder;)V

GitHub | ptimsonbbc | 3 months ago
  1. 0

    Spring Boot 1.4.0 Dependency Issue

    GitHub | 3 months ago | ptimsonbbc
    java.lang.NoSuchMethodError: com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.<init>(Lcom/google/gson/internal/ConstructorConstructor;Lcom/google/gson/FieldNamingStrategy;Lcom/google/gson/internal/Excluder;)V
  2. 0

    Apache jclouds java.lang.NoSuchMethodError when using Rackspace in a Spring Boot application

    Stack Overflow | 3 months ago | SheppardDigital
    org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userController': Unsatisfied dependency expressed through field 'storage': Error creating bean with name 'storage' defined in class path resource [com/appapi/config/AppConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.appapi.helpers.WebStorage]: Factory method 'storage' threw exception; nested exception is java.lang.NoSuchMethodError: com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.<init>(Lcom/google/gson/internal/ConstructorConstructor;Lcom/google/gson/FieldNamingStrategy;Lcom/google/gson/internal/Excluder;)V; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'storage' defined in class path resource [com/appapi/config/AppConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.appapi.helpers.WebStorage]: Factory method 'storage' threw exception; nested exception is java.lang.NoSuchMethodError: com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.<init>(Lcom/google/gson/internal/ConstructorConstructor;Lcom/google/gson/FieldNamingStrategy;Lcom/google/gson/internal/Excluder;)V
  3. 0

    AWS S3 Java Embedded Mock for Integration Tests

    Stack Overflow | 3 months ago | ptimson
    java.lang.NoSuchMethodError: com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.<init>(Lcom/google/gson/internal/ConstructorConstructor;Lcom/google/gson/FieldNamingStrategy;Lcom/google/gson/internal/Excluder;)V
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Not able to resolve java.lang.NoSuchMethodError with GSON library

    Stack Overflow | 8 months ago | moooni moon
    java.lang.NoSuchMethodError: com.google.gson.Gson.getAdapter(Lcom/google/gson/reflect/TypeToken;)Lcom/google/gson/TypeAdapter;
  6. 0

    NoSuchMethodError exception on Charge.create

    GitHub | 3 months ago | VolodymyrTkachuk
    java.lang.NoSuchMethodError: com.google.gson.Gson.getDelegateAdapter(Lcom/google/gson/TypeAdapterFactory;Lcom/google/gson/reflect/TypeToken;)Lcom/google/gson/TypeAdapter;

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.<init>(Lcom/google/gson/internal/ConstructorConstructor;Lcom/google/gson/FieldNamingStrategy;Lcom/google/gson/internal/Excluder;)V

      at org.jclouds.json.internal.DeserializationConstructorAndReflectiveTypeAdapterFactory.<init>()
    2. jclouds Components Core
      GsonModule.provideGson
      1. org.jclouds.json.internal.DeserializationConstructorAndReflectiveTypeAdapterFactory.<init>(DeserializationConstructorAndReflectiveTypeAdapterFactory.java:116)
      2. org.jclouds.json.config.GsonModule.provideGson(GsonModule.java:129)
      2 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    4. Google Guice - Core Library
      InjectorImpl.getInstance
      1. com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:104)
      2. com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
      3. com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
      4. com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
      5. com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
      6. com.google.inject.Scopes$1$1.get(Scopes.java:65)
      7. com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
      8. com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
      9. com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
      10. com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)
      11. com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
      12. com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
      13. com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
      14. com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
      15. com.google.inject.Scopes$1$1.get(Scopes.java:65)
      16. com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
      17. com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54)
      18. com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
      19. com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
      20. com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)
      21. com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
      22. com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
      23. com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
      24. com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
      25. com.google.inject.Scopes$1$1.get(Scopes.java:65)
      26. com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
      27. com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:737)
      28. com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
      29. com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
      30. com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)
      31. com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
      32. com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
      33. com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
      34. com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
      35. com.google.inject.Scopes$1$1.get(Scopes.java:65)
      36. com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
      37. com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:737)
      38. com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)
      39. com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
      40. com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)
      41. com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1009)
      41 frames
    5. jclouds Components Core
      BindProviderMetadataContextAndCredentials.backend
      1. org.jclouds.providers.config.BindProviderMetadataContextAndCredentials.backend(BindProviderMetadataContextAndCredentials.java:84)
      1 frame
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    7. Google Guice - Core Library
      Guice.createInjector
      1. com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:104)
      2. com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
      3. com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
      4. com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
      5. com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
      6. com.google.inject.Scopes$1$1.get(Scopes.java:65)
      7. com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
      8. com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
      9. com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
      10. com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)
      11. com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
      12. com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
      13. com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
      14. com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
      15. com.google.inject.Scopes$1$1.get(Scopes.java:65)
      16. com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
      17. com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:737)
      18. com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
      19. com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
      20. com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)
      21. com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
      22. com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
      23. com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
      24. com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
      25. com.google.inject.Scopes$1$1.get(Scopes.java:65)
      26. com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
      27. com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54)
      28. com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:204)
      29. com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:198)
      30. com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024)
      31. com.google.inject.internal.InternalInjectorCreator.loadEagerSingletons(InternalInjectorCreator.java:198)
      32. com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:179)
      33. com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:109)
      34. com.google.inject.Guice.createInjector(Guice.java:95)
      34 frames
    8. jclouds Components Core
      ContextBuilder.buildView
      1. org.jclouds.ContextBuilder.buildInjector(ContextBuilder.java:402)
      2. org.jclouds.ContextBuilder.buildInjector(ContextBuilder.java:326)
      3. org.jclouds.ContextBuilder.buildView(ContextBuilder.java:608)
      4. org.jclouds.ContextBuilder.buildView(ContextBuilder.java:588)
      4 frames