13 Replies Latest reply: Jul 29, 2010 1:57 PM by Stan Silvert RSS

    JBoss 6.0.0.M4: java.lang.ClassNotFoundException: javax.faces.context.FacesContext from BaseClassLoader@def14f

    Marcos Antonio Novice

      Hello, everybody!

       

      I've just migrated my application that was working in JBoss 6.0.0.M3 to JBoss 6.0.0.M4. I changed nothing in the application. But now I'm getting this error when I try to log in in the application:

       

      2010-07-29 10:23:28,000 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/solicitacoes].[Faces Servlet]] (http-127.0.0.1-8080-1) Servlet.service() for servlet Faces Servlet threw exception: java.lang.ClassNotFoundException: javax.faces.context.FacesContext from BaseClassLoader@def14f{vfs:///C:/jboss-6.0.0.20100721-M4/server/default/conf/jboss-service.xml}

      at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:480) [jboss-classloader.jar:2.2.0.Alpha7]

      at java.lang.ClassLoader.loadClass(ClassLoader.java:248) [:1.6.0_20]

      at br.urca.web.jsf.UtilsJSF.getSessao(UtilsJSF.java:21) [:]

      at br.urca.solicitacoes.web.FuncionarioAutenticado.getInstancia(FuncionarioAutenticado.java:24) [:]

      at br.urca.solicitacoes.web.ControladorAcessoPagina.controlarAcessoPagina(ControladorAcessoPagina.java:28) [:]

      at br.urca.solicitacoes.web.SolicitacoesPhaseListener.afterPhase(SolicitacoesPhaseListener.java:47) [:]

      at com.sun.faces.lifecycle.Phase.handleAfterPhase(Phase.java:189) [:2.0.2-FCS]

      at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:107) [:2.0.2-FCS]

      at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:110) [:2.0.2-FCS]

      at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) [:2.0.2-FCS]

      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312) [:2.0.2-FCS]

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324) [:6.0.0.20100721-M4]

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.20100721-M4]

      at org.jboss.resteasy.plugins.server.servlet.FilterDispatcher.doFilter(FilterDispatcher.java:63) [:6.0.0.20100721-M4]

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:6.0.0.20100721-M4]

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.20100721-M4]

      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [:6.0.0.20100721-M4]

      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [:6.0.0.20100721-M4]

      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181) [:6.0.0.20100721-M4]

      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:593) [:6.0.0.20100721-M4]

      at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285) [:1.1.0.CR3]

      at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261) [:1.1.0.CR3]

      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88) [:6.0.0.20100721-M4]

      at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:93) [:6.0.0.20100721-M4]

      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [:6.0.0.20100721-M4]

      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [:6.0.0.20100721-M4]

      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) [:6.0.0.20100721-M4]

      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [:6.0.0.20100721-M4]

      at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53) [:6.0.0.20100721-M4]

      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [:6.0.0.20100721-M4]

      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [:6.0.0.20100721-M4]

      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [:6.0.0.20100721-M4]

      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [:6.0.0.20100721-M4]

      at java.lang.Thread.run(Thread.java:619) [:1.6.0_20]

       

      What could it be?

       

      Thank you in advance.

       

      Marcos