java.util.ServiceConfigurationError: org.jclouds.providers.ProviderMetadata: Provider org.jclouds.rackspace.cloudservers.CloudServersUSProviderMetadata could not be instantiated

openstack.org | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Problem with JClouds - Ask OpenStack: Q&A Site for OpenStack Users and Developers

    openstack.org | 7 months ago
    java.util.ServiceConfigurationError: org.jclouds.providers.ProviderMetadata: Provider org.jclouds.rackspace.cloudservers.CloudServersUSProviderMetadata could not be instantiated
  2. 0

    JClouds-Chef: IllegalAccessError on TokenType2?

    Stack Overflow | 3 years ago | IAmYourFaja
    java.util.ServiceConfigurationError: org.jclouds.apis.ApiMetadata: Provider org.jclouds.openstack.swift.SwiftApiMetadata could not be instantiated: java.lang.IllegalAccessError: tried to access class com.google.common.reflect.TypeResolver from class org.jclouds.util.TypeToken2

    Root Cause Analysis

    1. java.lang.IllegalAccessError

      tried to access class com.google.common.reflect.TypeResolver from class org.jclouds.util.TypeToken2

      at org.jclouds.util.TypeToken2.where()
    2. jclouds Components Core
      BaseRestApiMetadata$Builder.<init>
      1. org.jclouds.util.TypeToken2.where(TypeToken2.java:47)
      2. org.jclouds.rest.internal.BaseRestApiMetadata.contextToken(BaseRestApiMetadata.java:60)
      3. org.jclouds.rest.internal.BaseRestApiMetadata$Builder.<init>(BaseRestApiMetadata.java:74)
      3 frames
    3. org.jclouds.cloudservers
      CloudServersApiMetadata.<init>
      1. org.jclouds.cloudservers.CloudServersApiMetadata$Builder.<init>(CloudServersApiMetadata.java:71)
      2. org.jclouds.cloudservers.CloudServersApiMetadata.<init>(CloudServersApiMetadata.java:55)
      2 frames
    4. org.jclouds.rackspace
      CloudServersUSProviderMetadata.<init>
      1. org.jclouds.rackspace.cloudservers.CloudServersUSProviderMetadata$Builder.<init>(CloudServersUSProviderMetadata.java:61)
      2. org.jclouds.rackspace.cloudservers.CloudServersUSProviderMetadata.builder(CloudServersUSProviderMetadata.java:36)
      3. org.jclouds.rackspace.cloudservers.CloudServersUSProviderMetadata.<init>(CloudServersUSProviderMetadata.java:45)
      3 frames
    5. Java RT
      ServiceLoader$1.next
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:408)
      5. java.lang.Class.newInstance(Class.java:433)
      6. java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380)
      7. java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
      8. java.util.ServiceLoader$1.next(ServiceLoader.java:480)
      8 frames
    6. Guava
      ImmutableSet$Builder.addAll
      1. com.google.common.collect.ImmutableCollection$Builder.addAll(ImmutableCollection.java:342)
      2. com.google.common.collect.ImmutableSet$Builder.addAll(ImmutableSet.java:596)
      2 frames
    7. jclouds Components Core
      ContextBuilder.newBuilder
      1. org.jclouds.providers.Providers.all(Providers.java:84)
      2. org.jclouds.providers.Providers.withId(Providers.java:101)
      3. org.jclouds.ContextBuilder.newBuilder(ContextBuilder.java:166)
      3 frames
    8. com.mycompany.app
      JCloudsNova.main
      1. com.mycompany.app.my_app.JCloudsNova.<init>(JCloudsNova.java:40)
      2. com.mycompany.app.my_app.JCloudsNova.main(JCloudsNova.java:20)
      2 frames