Rafael Pinto

Apenas para minha documentação (mas pode lhe ser útil)

Error running JSF with Jboss

fazer um comentário »

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>
-- >

Escrito por Rafael

22/06/2009 às 15:46

Publicado em Java

Etiquetado com

Deixe uma resposta

Preencha os seus dados abaixo ou clique em um ícone para log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Sair / Alterar )

Imagem do Twitter

You are commenting using your Twitter account. Sair / Alterar )

Foto do Facebook

You are commenting using your Facebook account. Sair / Alterar )

Connecting to %s

Seguir

Obtenha todo post novo entregue na sua caixa de entrada.