You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "eric larson (JIRA)" <ji...@apache.org> on 2013/06/18 17:07:20 UTC
[jira] [Commented] (JCLOUDS-117) jclouds is not compatible with
gson 2.2.4
[ https://issues.apache.org/jira/browse/JCLOUDS-117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13686811#comment-13686811 ]
eric larson commented on JCLOUDS-117:
-------------------------------------
Is there a work-around so that I can get buildView() working?
I hit this bug when I run the following:
// Create the connection to the Chef server
ChefContext context = ContextBuilder.newBuilder("chef") //
.endpoint("http://10.10.10.87:4000") //
.credentials(client, credential) //
.overrides(chefConfig) //
.buildView(ChefContext.class);
Thank you,
Eric
> jclouds is not compatible with gson 2.2.4
> -----------------------------------------
>
> Key: JCLOUDS-117
> URL: https://issues.apache.org/jira/browse/JCLOUDS-117
> Project: jclouds
> Issue Type: Bug
> Components: jclouds-core
> Reporter: Adrian Cole
>
> java.lang.NoSuchMethodError: com.google.gson.internal.ConstructorConstructor: method <init>()V not found
> at org.jclouds.json.config.GsonModule.provideGson(GsonModule.java:127)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> ConstructorConstructor is an internal class and changed in 2.2.4, removing the default constructor, which was formerly:
> public ConstructorConstructor() {
> this(Collections.<Type, InstanceCreator<?>>emptyMap());
> }
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira