mercredi 29 juin 2011

Can not find the tag library descriptor for "http://richfaces.org/a4j"

Problème :

J'ai un fichier jsp avec dedans :


<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>


Eclipse signale l'erreur suivante : Can not find the tag library descriptor for "http://richfaces.org/a4j"


Solution :

J'ai rajouté les dépendances suivantes pour avoir les jar dans le classpath :

<dependency>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-impl</artifactId>
<version>3.3.0.GA</version>
</dependency>
<dependency>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-impl-jsf2</artifactId>
<version>3.3.3.Final</version>
</dependency>
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>richfaces-ui</artifactId>
<version>3.3.3.Final</version>
</dependency>

2 commentaires:

  1. les ajouter ou ?? j'ai le mme problém !!

    RépondreSupprimer
  2. Il suffit d'ajouter ses dépendances dans le fichier Maven : pom.xml.Si vous n'avez pas Maven, vous devrez surment les ajouter dans le lib de votre serveur d'application.

    RépondreSupprimer