I have mentioned gson as depedndecy in pom.xml with version as
below.gson2.8.9com.google.code.gsonprovidedSince
all Latest AEM by default have GSON version with 2.8.5 and by project
bundle is picking by 2.8.5 not 2.8.9. Because of this for some of the
classes getting error like no method found.Please suggest how to upgrade
to 2.8.9