Error running JSF with Jboss
Error: The specified InjectionProvider implementation ‘org.jboss.web.jsf.integration.injection.JBossDelegatingInjectionProvider’ does not implement the InjectionProvider interface.
Solution:
You need to remove the bundled JSF implementation. To do so you need to comment/remove the following from the web.xml found under jboss-4.2.0.GA\server\\deploy\jboss-web.deployer\conf.
Under jboss 5.0.0GA jboss-5.0.0.GA\server\default\deployers\jbossweb.deployer\web.xml
< !-- Comment/Remove this -- >
< !-- Configures JSF for a web application if the javax.faces.webapp.FacesServlet is declared -- >
< !-- in web.xml. -- >
< !--
< listener>
< listener-class>org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
< /listener>
-->
< !-- Comment/Remove this -- >
< !-- Listens to all web app lifecycle events so that @PreDestroy can be called on -- >
< !-- JSF managed beans that go out of scope. You can comment this out if you -- >
< !-- don't use JSF or you don't use annotations on your managed beans. -- >
< !--
< listener>
< listener-class>com.sun.faces.application.WebappLifecycleListener< /listener-class>
< /listener>
-- >