Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit is happening now. Discover what's next in customer experience

GSON version upgrade 2.8.9 in AEM

Avatar

Level 1

I have mentioned gson as depedndecy in pom.xml with version as below.
<dependency>
<artifactId>gson</artifactId>
<version>2.8.9</version>
<groupId>com.google.code.gson</groupId>
<scope>provided</scope>
</dependency>
Since 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

1 Reply

Avatar

Level 1

you need to embed this jar and put dependecy on top in dependecy management of parennt pom or bundle pom.

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now