java.lang.NoClassDefFoundError: javax.naming.InitialContext is a restricted class. Please see the Google App Engine developer's guide for more details.
at com.google.appengine.tools.development.agent.runtime.Runtime.reject(Runtime.java:51)
at org.omnifaces.util.JNDI.lookup(JNDI.java:82)
at org.omnifaces.config.BeanManager.init(BeanManager.java:68)
at org.omnifaces.config.BeanManager.getReference(BeanManager.java:107)
at org.omnifaces.application.OmniApplication.createConverter(OmniApplication.java:86)
at org.primefaces.config.ConfigContainer.initConfig(ConfigContainer.java:69)
at org.primefaces.config.ConfigContainer.<init>(ConfigContainer.java:59)
try {
Class.forName("javax.enterprise.inject.spi.BeanManager"); // Is CDI present?
Class.forName("javax.naming.InitialContext"); // Is JNDI present? (not on Google App Engine)
}
catch (Throwable ignore) {
return; // CDI or JNDI not supported on this environment.
}
// ...