NoClassDefFoundError: com/google/appengine/repackaged/com/google/gson/Gson

253 views
Skip to first unread message

Shachar Grembek

unread,
Jun 6, 2017, 6:52:07 PM6/6/17
to Google App Engine
Hi,

I had my code run with the new java 8 beta for a few hours, when suddenly some of the code that sed to run perfectly started to raise 500 error of: NoClassDefFoundError: com/google/appengine/repackaged/com/google/gson/Gson
Can you please advise if there is any possible reason that it stoped working event though I didn't upload any new version

Thanks

Shachar Grembek

unread,
Jun 7, 2017, 4:31:56 AM6/7/17
to Google App Engine
Resolved by changing the import statement to "import com.google.gson.Gson;"

Brian de Alwis

unread,
Jun 7, 2017, 9:37:00 AM6/7/17
to google-a...@googlegroups.com
I'd suggest configuring your IDE to ignore any classes found in com.google.appengine.repackaged.*. In Eclipse JDT, it's Preferences > Java > Appearance > Type Filters.

Brian.

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/6b61d514-53de-4a7c-a9a7-1bed611b2848%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages