paul-stinchcombe / google-gson

Automatically exported from code.google.com/p/google-gson
0 stars 0 forks source link

com.google.gson 2.2.2 - Uncompatible with appengine sdk 1.7 #481

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. import com.google.gson.Gson is valid with appengine sdk 1.4 but not with 
1.7. error observed as in point 2.
2. with above import, Create object of Gson is error. NoClassDefFoundError can 
be seen in appengine logs.
4. If I allow eclipse to import 
com.google.appengine.repackaged.com.google.gson.Gson; then its working fine. 
But has a warning that app may break without warning.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
com.google.gson 2.2.2
Appengine sdk 1.7
Eclipse Juno
Windows 7

Please provide any additional information below.

Original issue reported on code.google.com by abhijits...@gmail.com on 18 Oct 2012 at 11:31

GoogleCodeExporter commented 9 years ago
This is an appengine bug. Your best bet is to use jarjar to repackage Gson.

Original comment by limpbizkit on 4 Feb 2013 at 3:35