0 Replies Latest reply on Dec 10, 2015 8:57 AM by Binko Georgiev Binev

    Exception Cause: Class 'org.jboss.weld.jsf.WeldPhaseListener' is not an instance of 'interface javax.faces.event.PhaseListener'

    Binko Georgiev Binev Newbie

      I am pretty new to JBoss. So please excuse me if I aks newbie questions.

      I am currently trying to run the JavaEE5 bookstore6 project under JBoss.

      Currntly I am at the follwoing exception

       

      Source Document: jar:file:/C:/prg/jbdevstudio/runtimes/jboss-eap/modules/system/layers/base/org/jboss/as/weld/main/jboss-as-weld-7.5.0.Final-redhat-21.jar!/META-INF/faces-config.xml

        Cause: Class 'org.jboss.weld.jsf.WeldPhaseListener' is not an instance of 'interface javax.faces.event.PhaseListener'

        at com.sun.faces.config.ConfigManager.initialize(Unknown Source) [jsf-impl-1.2.15.b01-redhat-12.jar:1.2.15.b01-redhat-12]

        at com.sun.faces.config.ConfigureListener.contextInitialized(Unknown Source) [jsf-impl-1.2.15.b01-redhat-12.jar:1.2.15.b01-redhat-12]

        at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3339) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

        at org.apache.catalina.core.StandardContext.start(StandardContext.java:3780) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

        at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:163) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

        at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:61) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

        at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:96) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [rt.jar:1.6.0_20]

        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [rt.jar:1.6.0_20]

        at java.util.concurrent.FutureTask.run(FutureTask.java:138) [rt.jar:1.6.0_20]

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_20]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_20]

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

        at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.0.0.GA-redhat-1.jar:2.0.0.GA-redhat-1]

      Caused by: com.sun.faces.config.ConfigurationException:

        Source Document: jar:file:/C:/prg/jbdevstudio/runtimes/jboss-eap/modules/system/layers/base/org/jboss/as/weld/main/jboss-as-weld-7.5.0.Final-redhat-21.jar!/META-INF/faces-config.xml

        Cause: Class 'org.jboss.weld.jsf.WeldPhaseListener' is not an instance of 'interface javax.faces.event.PhaseListener'

        at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(Unknown Source) [jsf-impl-1.2.15.b01-redhat-12.jar:1.2.15.b01-redhat-12]

        at com.sun.faces.config.processor.LifecycleConfigProcessor.addPhaseListeners(Unknown Source) [jsf-impl-1.2.15.b01-redhat-12.jar:1.2.15.b01-redhat-12]

        at com.sun.faces.config.processor.LifecycleConfigProcessor.process(Unknown Source) [jsf-impl-1.2.15.b01-redhat-12.jar:1.2.15.b01-redhat-12]

        at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(Unknown Source) [jsf-impl-1.2.15.b01-redhat-12.jar:1.2.15.b01-redhat-12]

        at com.sun.faces.config.processor.FactoryConfigProcessor.process(Unknown Source) [jsf-impl-1.2.15.b01-redhat-12.jar:1.2.15.b01-redhat-12]

        ... 14 more

       

      Any ideas how this could be solved.

      Thanks to all participants