Whenever I tried to run my Google App Engine project(using JSF 2 and Apache MyFaces), got following error:
java.lang.NoClassDefFoundError: javax.naming.InitialContext is a restricted class. Please see the Google App Engine developer’s guide for more details.
Any solution?
Did you try what it suggests? You’re probably looking for the JRE class whitelist in the developer’s guide, which doesn’t list
javax.naming.InitialContext. I.e. you can’t use that class in GAE.