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

eric larson commented on JCLOUDS-117:
-------------------------------------

My Ant build console output shows that version 2.2.2 of Gson is being used, not 
2.2.4, yet I still see this compatibility error.

     [copy] Copying 
C:\Users\elarson\.m2\repository\com\google\code\gson\gson\2.2.2\gson-2.2.2.jar 
to 
C:\workspaces\test_eclipse_3.7.2_wrkspc\ThirdParty\jclouds\lib2\gson-2.2.2.jar
                
> 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