aspose file tools*
The moose likes JSF and the fly likes PrimeFaces resource exception under Tomcat7 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "PrimeFaces resource exception under Tomcat7" Watch "PrimeFaces resource exception under Tomcat7" New topic
Author

PrimeFaces resource exception under Tomcat7

paul nisset
Ranch Hand

Joined: May 13, 2009
Posts: 177

Hi ,
I'm trying to migrate an application from NetBeans /Glassfish to Eclipse/ Tomcat7 and I can't get Tomcat to recognize PrimeFaces .
I'm using Tomcat7.
I'm using PrimeFaces3.3 . I have also tried 3.0
I'm using JSF 2.1.6

Any help would be appreciated.

Thanks,
Paul

This is the error


This is the web.xml



This is my faces-config.xml

Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16305
    
  21

Glassfish is a full-stack JEE server. Tomcat is not.

What that means in practical terms is that Glassfish has the JSF core implementation jars built into Glassfish itself, but Tomcat doesn't.

So you have to build a Tomcat-friendly WAR that includes the missing jsf-impl.jar file in its WEB-INF/lib set.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: PrimeFaces resource exception under Tomcat7