Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning about JSONObject + missing <threadsafe> #5

Open
GoogleCodeExporter opened this issue Jun 1, 2015 · 0 comments
Open

Warning about JSONObject + missing <threadsafe> #5

GoogleCodeExporter opened this issue Jun 1, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

There are compile warning and deploy problem when used AppEngine 1.8.4:

1) "Use of com.google.appengine.repackaged may result in your app breaking 
without warning."

To resolve, in Game class must be following import replaced as showed:

- import com.google.appengine.repackaged.org.json.JSONObject;
+ import com.google.appengine.labs.repackaged.org.json.JSONObject;

This should be fixed in this demo app. Solution cames from:
https://stackoverflow.com/questions/8714790/cant-use-jsonobject-in-google-app-en
gine-java-anymore#answer-19131463

2) appengine-web.xml does not contain a <threadsafe>

To resolve must be added <threadsafe>true</threadsafe>

Original issue reported on code.google.com by honza...@gmail.com on 27 Feb 2015 at 3:32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant