[ 
https://issues.apache.org/jira/browse/JCLOUDS-117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13686839#comment-13686839
 ] 

Ignasi Barrera commented on JCLOUDS-117:
----------------------------------------

Eric, could you double check that you only have the 2.2.2 version of gson in 
your classpath? I've just tried an example with Chef using the last SNAPSHOT 
version and it works fine.
                
> 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

Reply via email to