Re: Maven EAR with web module

Splash Forums PrettyFaces Users Maven EAR with web module Re: Maven EAR with web module

#21134

The first thing I’m seeing here is that you are using a very very very old version of PrettyFaces. You should really update to the most recent version. If you are using JSF 2.0 add this dependency:

<dependency>
<groupId>com.ocpsoft</groupId>
<artifactId>prettyfaces-jsf2</artifactId>
<version>3.3.0</version>
</dependency>

If you are deploying to a Servlet 3.0 environment (which is true in your case according to the web.xml) you won’t have to add the PrettyFaces filter to the web.xml at all. PrettyFaces will automatically be configured correctly by the container.

Hope this helps! :)