Just updated to 1.6.1 and I am getting warnings that I should not be using
com.google.appengine.repackaged
What should I be using instead?
Affected classes specifically are:
com.google.appengine.repackaged.org.json.JSONException; com.google.appengine.repackaged.org.json.JSONObject; com.google.appengine.repackaged.com.google.common.util.Base64; com.google.appengine.repackaged.com.google.common.util.Base64DecoderException;
For org.json.*
you can use the Java JSON library found at http://json.org/ (though there are other, better JSON libraries for Java)
For classes in com.google.common.*
you can find most of them (though not Base64
, etc., apparently) in Google's Guava libraries.
org.json.JSONException;
org.json.JSONObject;
com.google.common.util.Base64;
com.google.common.util.Base64DecoderException;
You should include third party jars yourself in your application, instead of relying on com.google.appengine.repackaged
In your case, your should add the following dependencies:
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