java.util.ServiceConfigurationError

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

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2

  • Stack trace

    • java.util.ServiceConfigurationError: org.jclouds.providers.ProviderMetadata: Provider org.jclouds.rackspace.cloudservers.CloudServersUSProviderMetadata could not be instantiated at java.util.ServiceLoader.fail(ServiceLoader.java:232) at java.util.ServiceLoader.access$100(ServiceLoader.java:185) at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:384) at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404) at java.util.ServiceLoader$1.next(ServiceLoader.java:480) at com.google.common.collect.ImmutableCollection$Builder.addAll(ImmutableCollection.java:342) at com.google.common.collect.ImmutableSet$Builder.addAll(ImmutableSet.java:596) at org.jclouds.providers.Providers.all(Providers.java:84) at org.jclouds.providers.Providers.withId(Providers.java:101) at org.jclouds.ContextBuilder.newBuilder(ContextBuilder.java:166) at com.mycompany.app.my_app.JCloudsNova.<init>(JCloudsNova.java:40) at com.mycompany.app.my_app.JCloudsNova.main(JCloudsNova.java:20) Caused by: java.lang.IllegalAccessError: tried to access class com.google.common.reflect.TypeResolver from class org.jclouds.util.TypeToken2 at org.jclouds.util.TypeToken2.where(TypeToken2.java:47) at org.jclouds.rest.internal.BaseRestApiMetadata.contextToken(BaseRestApiMetadata.java:60) at org.jclouds.rest.internal.BaseRestApiMetadata$Builder.<init>(BaseRestApiMetadata.java:74) at org.jclouds.cloudservers.CloudServersApiMetadata$Builder.<init>(CloudServersApiMetadata.java:71) at org.jclouds.cloudservers.CloudServersApiMetadata.<init>(CloudServersApiMetadata.java:55) at org.jclouds.rackspace.cloudservers.CloudServersUSProviderMetadata$Builder.<init>(CloudServersUSProviderMetadata.java:61) at org.jclouds.rackspace.cloudservers.CloudServersUSProviderMetadata.builder(CloudServersUSProviderMetadata.java:36) at org.jclouds.rackspace.cloudservers.CloudServersUSProviderMetadata.<init>(CloudServersUSProviderMetadata.java:45) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:408) at java.lang.Class.newInstance(Class.java:433) at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380) ... 9 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,