Monday, July 18, 2011

java.lang.ClassNotFoundException: javax.faces.FacesException

Problem :

In JBoss 6.0.0 when I deploy my war, I have the following error :

java.lang.ClassNotFoundException: javax.faces.FacesException 

Solution :

I've add following Maven dependencies :

<dependency> <groupId>com.sun.faces</groupId> <artifactId>jsf-api</artifactId> <version>2.0.0-Beta2</version> </dependency>