Home > Social > Spring Social apps on Google App Engine – *** is a restricted class!!

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.

or

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.

Categories: Social
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: