Using JClouds with Spring 2.7.* throws an exception
The following exception is thrown when trying to create a context
Caused by: NoSuchMethodError: 'void ConstructorConstructor.<init>(Map)' at GsonModule.provideGson(GsonModule.java:130) at GsonModule$$FastClassByGuice$$1633583.GUICE$TRAMPOLINE(<generated>) at GsonModule$$FastClassByGuice$$1633583.apply(<generated>) .....
this happens because spring updated the API to use gson 2.9.1 and Jclouds isn't compatible with it yet here is a some details regarding that issue https://issues.apache.org/jira/browse/JCLOUDS-1620
any idea how to fix the issue ?
Hi,
Thank you for bringing this up and sharing the Jcloud issue with us. As you may already know the application currently uses spring boot 2.6.6. The roadmap for the migration of spring boot 2.7.x is yet to be planned. Hence we suggest you to use the app with spring boot 2.6.6 if its not an issue for you and we should be able to reply your query post the migration.
Best Regards