skip to main |
skip to sidebar
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-class>
</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>
-->
8 comments:
Hi,
I tried to comment the suggested lines from web.xml file but now the following error occurs:
10:50:04,140 ERROR [STDERR] 18-mar-2009 10.50.04 com.sun.faces.config.ConfigureListener contextInitialized
INFO: Initializing Mojarra (1.2_09-b02-FCS) for context '/provaTutorial'
10:50:04,703 ERROR [STDERR] 18-mar-2009 10.50.04 com.sun.faces.spi.InjectionProviderFactory getProviderInstance
GRAVE: JSF1029: The specified InjectionProvider implementation 'org.jboss.web.jsf.integration.injection.JBossDelegatingInjectionProvider' does not implement the InjectionProvider interface.
10:50:04,703 ERROR [STDERR] 18-mar-2009 10.50.04 com.sun.faces.spi.InjectionProviderFactory createInstance
INFO: JSF1048: PostConstruct/PreDestroy annotations present. ManagedBeans methods marked with these annotations will have said annotations processed.
I'm using jboss-5.0.0.CR2 and Eclipse (with ICEFaces plugin...).
Could any one please help me on this?
Thanks a lot! I've looking for a solution for a while.
Thanks!! for the solution, I had tried with three application but, I didn't know what was the problem, but with your solution my applications deploy without problems.
It worked for me. Thxs a lot!
Hey man, Thanks a lot for the help!
You saved me. Thanks a lot.
thank's thank's thank's
if still, https://community.jboss.org/message/54085
Post a Comment