Hai ,
I have a sample working jsf 2.0 project.
When i add primefaces-3.0.jar in the lib folder.
I get the following error while deploying.Without that jar the project works fine.
org.primefaces.renderkit.HeadRenderer' is not an instance of 'class javax.faces.render.Renderer
I wish to use primeface but could not add it to my project.
HELP ME TO USE primefaces-3.0.jar WITH JSF 2.0
-
- Posts: 10
- Joined: 05 Jan 2012, 11:45
Last edited by elshad.dani on 05 Jan 2012, 12:17, edited 1 time in total.
-
- Posts: 10
- Joined: 05 Jan 2012, 11:45
elshad.dani wrote:Hai ,
I have a sample working jsf 2.0 project.
When i add primefaces-3.0.jar in the lib folder.
I get the following error while deploying.Without that jar the project works fine.
org.primefaces.renderkit.HeadRenderer' is not an instance of 'class javax.faces.render.Renderer
I wish to use primeface but could not add it to my project.
I Removed the primefaces-3.0.jar and tried primefaces-2.2.1.jar
i got the following error.
"org.primefaces.application.DynamicContentStreamer' is not an instance of 'interface javax.faces.event.PhaseListener"
-
- Posts: 10
- Joined: 05 Jan 2012, 11:45
Hai Friends,
I managed to solve this error
just specify the WAR_BUNDLES_JSF context param in your web.xml file like this:
<context-param>
<param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL</param-name>
<param-value>true</param-value>
</context-param>
I managed to solve this error
just specify the WAR_BUNDLES_JSF context param in your web.xml file like this:
<context-param>
<param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL</param-name>
<param-value>true</param-value>
</context-param>
-
- Posts: 10
- Joined: 05 Jan 2012, 11:45
I am using jboss 5.kukeltje wrote:what version of the JBoss appserver are you using?
It seems the jsf implementation comes inbuilt with jboss 5.
That's the reason i got this error.
adding those lines in the web.xml.Solved the problem
-
- Information
-
Who is online
Users browsing this forum: No registered users and 32 guests