Spring Social apps on Google App Engine – *** is a restricted class!!
Building Spring Social applications and deploying them on Google App Engine may often lead you into the following errors:
java.lang.NoClassDefFoundError: javax.net.ssl.KeyManagerFactory is a restricted class. Please see the Google App Engine developer’s guide for more details.
java.lang.NoClassDefFoundError:javax.net.ssl.HttpsURLConnection is a restricted class. Please see the Google App Engine developer’s guide for more details.
Well, to resolve this, if you cannot use one of the workarounds as mentioned here, you are kind of held up with the fact that Google has a whitelist that enlists the limited set of classes in their Java Runtime Environment.
Unfortunately, during development I figured out that Spring Social (internal libraries/artifacts) uses a number of classes that are out of that list, and would either have to be requested (to Google) to be added or choose a different application hosting mechanism.