Estou estudando esse exemplo: http://www.devmedia.com.br/post-11691-Criando-uma-aplicacao-com-Hibernate-e-JSF-utilizando-o-NetBeans-6-5-Parte-4.html
Porém, quando vou executa-lo usando o Glassfish, eh exibido o erro:
deploy? path=C:\Users\jonas\Documents\NetBeansProjects\Loja\build\web&name=Loja&force=true falhou em GlassFish Server 3
C:\Users\jonas\Documents\NetBeansProjects\Loja\nbproject\build-impl.xml:723: O módulo não foi implementado.
FALHA NA CONSTRUÇÃO (tempo total: 9 segundos):
NO TOMCAT, O ERRO EH ESSE:
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Servlet.init() for servlet Faces Servlet threw exception
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:859)
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1555)
java.lang.Thread.run(Thread.java:662)
root cause
java.lang.IllegalArgumentException: Não é possível criar o Ciclo de vida para a ID: com.sun.faces.lifecycle.PARTIAL.
com.sun.faces.lifecycle.LifecycleFactoryImpl.getLifecycle(LifecycleFactoryImpl.java:133)
javax.faces.webapp.FacesServlet.init(FacesServlet.java:193)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:859)
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1555)
java.lang.Thread.run(Thread.java:662)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.26 logs.