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
BedrockMission!

Learn more

View all

Sign in to view all badges

tanikaa71652610
Community profile tanikaa71652610 Level 1
Job title here
Location here
0 BADGES
Level 1

Level 1

Learn more
Joined the community 26-08-2018 8:34:28 AM
Offline
Top badges earned by tanikaa71652610
Customize the badges you want to showcase on your profile
Unable to create a gson object in a test class in AEM 6.4
Avatar
Level 1
tanikaa71652610
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
View profile
tanikaa71652610
- Adobe Experience Manager
In AEM 6.4 , I am creating a gson object in a Junit Test class and when i am trying to execute the same i am getting java NoClassDefFoundError .Though I can successfully create a gson object in a normal java class.Please find the Failure error stack below:java.lang.NoClassDefFoundError: com/google/gson/internal/bind/JsonTreeWriterat java.lang.Class.forName0(Native Method)at java.lang.Class.forName(Unknown Source)at javassist.runtime.Desc.getClassObject(Desc.java:43)at javassist.runtime.Desc.getC...

Views

564

Likes

0

Replies

1