Problem with primefaces 1.1 jar

UI Components for JSF
Post Reply
alishazy
Posts: 2
Joined: 01 Sep 2010, 13:17

01 Sep 2010, 16:17

Hi,

When i try to use Primefaces1.1 jar my code does not work and throw the following exception

Code: Select all

org.apache.jasper.JasperException: javax.servlet.ServletException: java.lang.NoClassDefFoundError: org/primefaces/ui/component/resources/ResourcesTag
	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:535)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
	com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:468)
	com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:140)
	com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
	com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
	com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
	javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
	org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

Though with primefaces-ui-0.9.3.jar my code is running perfectly fine.
Can anyone help why am i getting this exception when switching to higher version of Primefaces?

I am using JSF1.2 and JBoss 4.3.0 as application server.

Thanks
Ali

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

01 Sep 2010, 16:21

You need to place p:resources inside f:view. I guess you are using jsp.

alishazy
Posts: 2
Joined: 01 Sep 2010, 13:17

15 Sep 2010, 10:35

Hi,

Thanks for the reply. Yes i am using jsp.
As you suggested i tried using p:resources inside f:view but still it didn't worked.
Then i put my f:view tag outside html tag and bingo, problem got resolved.
Thanks a ton for your suggestion.

amarshi
Posts: 6
Joined: 23 Dec 2010, 08:44

23 Dec 2010, 11:08

can u please share the code and list of jar files you used.


---amarshi

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 61 guests