Half an hour ago I opened Eclipse to edit a Google App Engine app, previously everything was working fine, no errors, I haven't updated anything (at least not knowingly).
I had imported: com.google.appengine.repackaged.org.json.JSONObject
without error, however now I get this error:
use of com.google.appengine.repackaged may result in your app breaking without warning
It has never broken before, it came with the Google App Engine download for Eclipse, why has it suddenly started now? And how can I get rid of it? (they change I was making was very small and quick, it would be nice not to have to use a different JSON library)
com.google.appengine.repackaged.*
contains internal classes that should not be used by application code.
org.json
is implemented by many libraries, for example JSON-Java. Simply include one of them in your GAE project.
In case you don't want to have to figure this all out from first principles, here is a step-by-step:
Unfortunately this adds a whole lot of Warnings, but they do seem to be harmless.
AppEngine 1.8.4 use
com.google.appengine.labs.repackaged.org.json.JSONObject
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With