Hello Friends,
I am trying to migrate JSF 1.2 Code to JSF 2.2, On the way I am getting this error:
CONFIGURATION FAILED! com.sun.faces.vendor.WebContainerInjectionProvider cannot be cast to com.sun.faces.spi.InjectionProvider
Changes made in POM.Xml:
1. JSF : mojaarra 1.2_15 version to com.sun.faces 2.2.14
<dependency>
<groupId>com.sun.faces</groupId>
<artifactId>jsf-api</artifactId>
<version>2.2.14</version>
</dependency>
<dependency>
<groupId>com.sun.faces</groupId>
<artifactId>jsf-impl</artifactId>
<version>2.2.14</version>
</dependency>
I have tried to use this conf in web.xml:
<context-param> | ||
<param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL</param-name> | ||
<param-value>true</param-value> | ||
</context-param> |
I am new to Java. I don't have any clue, whats happening, but I have tried googling and tried different solutions.
Request all of you to help me.
Regards,
Satish
Why Nobody is answering, did i post in wrong group, pls help me..