Thursday, July 7, 2011

java.lang.ClassNotFoundException: com.sun.faces.config.ConfigureListener

Problem :

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

java.lang.ClassNotFoundException: com.sun.faces.config.ConfigureListener 

Solution :

I've add following Maven dependencies :

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

No comments:

Post a Comment