Olá, Após realizar a troca para a JSF 2.2, as páginas estão carregando normalmente, mas no console do Eclipse, verifico o seguinte erro:
fev 09, 2017 2:30:42 PM com.sun.faces.application.view.ViewScopeManager INFORMAÇÕES: CDI @ViewScoped manager unavailable java.lang.NoClassDefFoundError: javax/enterprise/context/spi/Contextual at com.sun.faces.application.view.ViewScopeManager.(Unknown Source) at com.sun.faces.application.view.ViewScopeManager.getInstance(Unknown Source) at com.sun.faces.application.view.ViewScopeEventListener.processEvent(Unknown Source) at javax.faces.event.SystemEvent.processListener(Unknown Source) at javax.faces.event.ComponentSystemEvent.processListener(Unknown Source) at com.sun.faces.application.ApplicationImpl.processListeners(Unknown Source) at com.sun.faces.application.ApplicationImpl.invokeListenersFor(Unknown Source) at com.sun.faces.application.ApplicationImpl.publishEvent(Unknown Source) at javax.faces.component.UIViewRoot.getViewMap(Unknown Source) at javax.faces.component.UIViewRoot.getViewMap(Unknown Source) at com.sun.faces.mgbean.BeanManager$ScopeManager$ViewScopeHandler.handle(Unknown Source) at com.sun.faces.mgbean.BeanManager$ScopeManager.pushToScope(Unknown Source) at com.sun.faces.mgbean.BeanManager.createAndPush(Unknown Source) at com.sun.faces.mgbean.BeanManager.create(Unknown Source) at com.sun.faces.el.ManagedBeanELResolver.resolveBean(Unknown Source) at com.sun.faces.el.ManagedBeanELResolver.getValue(Unknown Source) at com.sun.faces.el.DemuxCompositeELResolver._getValue(Unknown Source) at com.sun.faces.el.DemuxCompositeELResolver.getValue(Unknown Source) at org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:94) at org.apache.el.parser.AstValue.getValue(AstValue.java:137) at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:184) at com.sun.faces.facelets.el.TagValueExpression.getValue(Unknown Source) at javax.faces.component.ComponentStateHelper.eval(Unknown Source) at javax.faces.component.ComponentStateHelper.eval(Unknown Source) at javax.faces.component.UIOutput.getValue(Unknown Source) at javax.faces.component.UIInput.getValue(Unknown Source) at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(Unknown Source) at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(Unknown Source) at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(Unknown Source) at javax.faces.component.UIComponentBase.encodeEnd(Unknown Source) at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(Unknown Source) at com.sun.faces.renderkit.html_basic.GridRenderer.renderRow(Unknown Source) at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(Unknown Source) at javax.faces.component.UIComponentBase.encodeChildren(Unknown Source) at javax.faces.component.UIComponent.encodeAll(Unknown Source) at javax.faces.render.Renderer.encodeChildren(Unknown Source) at javax.faces.component.UIComponentBase.encodeChildren(Unknown Source) at javax.faces.component.UIComponent.encodeAll(Unknown Source) at javax.faces.component.UIComponent.encodeAll(Unknown Source) at javax.faces.component.UIComponent.encodeAll(Unknown Source) at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(Unknown Source) at com.sun.faces.application.view.MultiViewHandler.renderView(Unknown Source) at com.sun.faces.lifecycle.RenderResponsePhase.execute(Unknown Source) at com.sun.faces.lifecycle.Phase.doPhase(Unknown Source) at com.sun.faces.lifecycle.LifecycleImpl.render(Unknown Source) at javax.faces.webapp.FacesServlet.service(Unknown Source) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:474) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:624) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:495) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:767) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1347) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.ClassNotFoundException: javax.enterprise.context.spi.Contextual at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1275) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1109)
Qual o motivo do erro?