8 Replies Latest reply on Apr 8, 2011 9:28 AM by ainanmis

    Warning: This page calls for XML namespace http://richfaces.org/rich declared with prefix rich but no taglibrary exists for that namespace.

    ainanmis

      I am using calendar component and I am gettig error below. can you help?

       

      • Warning: This page calls for XML namespace http://richfaces.org/rich declared with prefix rich but no taglibrary exists for that namespace.
      • I added dependencies for richfaces 4. and I added xml namespaces

        xmlns:rich="http://richfaces.org/rich"      xmlns:a4j="http://richfaces.org/a4j"

      • my pom.xml is below.

       

      <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

       

        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

       

        <modelVersion>4.0.0</modelVersion>

       

        <groupId>com.hascode.jsf</groupId>

       

        <artifactId>registration-demo</artifactId>

       

        <packaging>war</packaging>

       

        <version>1.0-SNAPSHOT</version>

       

        <name>registration-demo Maven Webapp</name>

       

        <url>http://maven.apache.org</url>

       

      <repositories>

       

      <repository>

       

        <id>maven2-repository.dev.java.net</id>

       

        <name>Java.net Repository for Maven</name>

       

        <url>http://download.java.net/maven/2</url>

       

      </repository>

       

      <repository>

       

        <id>JBoss repository</id>

       

        <url>http://repository.jboss.com/maven2/</url>

       

      </repository>

       

        <repository>

       

            <id>jboss-public-repository-group</id>

       

            <name>JBoss Public Repository Group</name>

       

            <url>http://repository.jboss.org/nexus/content/groups/public/</url>

       

            <layout>default</layout>

       

            <releases>

       

              <enabled>true</enabled>

       

              <updatePolicy>never</updatePolicy>

       

            </releases>

       

            <snapshots>

       

              <enabled>true</enabled>

       

              <updatePolicy>never</updatePolicy>

       

            </snapshots>

       

          </repository>

       

      </repositories>

       

        <pluginRepositories>

       

          <pluginRepository>

       

            <id>jboss-public-repository-group</id>

       

            <name>JBoss Public Repository Group</name>

       

            <url>http://repository.jboss.org/nexus/content/groups/public/</url>

       

            <releases>

       

              <enabled>true</enabled>

       

            </releases>

       

            <snapshots>

       

              <enabled>true</enabled>

       

            </snapshots>

       

          </pluginRepository>

       

        </pluginRepositories>

       

      <properties>

       

              <!-- for Alhpa versions it was just 'ALPHA2' -->

       

              <org.richfaces.bom.version>4.0.0.20110227-CR1</org.richfaces.bom.version>

       

       

       

          </properties>

       

       

       

          <dependencyManagement>

       

              <dependencies>

       

                  <dependency>

       

                      <groupId>org.richfaces</groupId>

       

                      <artifactId>richfaces-bom</artifactId>

       

                      <version>${org.richfaces.bom.version}</version>

       

                      <scope>import</scope>

       

                      <type>pom</type>

       

                  </dependency>

       

                <dependency>

       

                                  <groupId>org.richfaces.ui</groupId>

       

                                  <artifactId>richfaces-components-ui</artifactId>

       

                                  <version>${org.richfaces.bom.version}</version>

       

                              </dependency>

       

                              <dependency>

       

                                  <groupId>org.richfaces.core</groupId>

       

                                  <artifactId>richfaces-core-impl</artifactId>

       

                                  <version>${org.richfaces.bom.version}</version>

       

                             </dependency>

       

                              <dependency>

       

                               <groupId>org.richfaces.cdk</groupId>

       

                               <artifactId>annotations</artifactId>

       

                               <version>${org.richfaces.bom.version}</version>

       

                               <scope>provided</scope>

       

                                    </dependency>

       

              </dependencies>

       

          </dependencyManagement>

       

       

       

        <dependencies>

       

           <dependency>

       

            <groupId>junit</groupId>

       

            <artifactId>junit</artifactId>

       

            <version>3.8.1</version>

       

            <scope>test</scope>

       

          </dependency>

       

       

       

         <dependency>

       

              <groupId>com.sun.faces</groupId>

       

              <artifactId>jsf-api</artifactId>

       

              <version>2.0.2</version>

       

              <scope>compile</scope>

       

          </dependency>

       

          <dependency>

       

              <groupId>com.sun.faces</groupId>

       

              <artifactId>jsf-impl</artifactId>

       

              <version>2.0.2</version>

       

              <scope>compile</scope>

       

          </dependency>

       

          <dependency>

       

                                    <groupId>jstl</groupId>

       

                                    <artifactId>jstl</artifactId>

       

                                    <version>1.2</version>

       

                          </dependency>

       

        </dependencies>

       

        <build>

       

          <finalName>registration-demo</finalName>

       

          <plugins>

       

                <plugin>

       

                          <groupId>org.apache.maven.plugins</groupId>

       

                          <artifactId>maven-compiler-plugin</artifactId>

       

                          <version>2.0.2</version>

       

                          <configuration>

       

                                    <source>1.6</source>

       

                                    <target>1.6</target>

       

                          </configuration>

       

                </plugin>

       

                <plugin>

       

                      <groupId>org.apache.maven.plugins</groupId>

       

                      <artifactId>maven-war-plugin</artifactId>

       

                      <version>2.1-beta-1</version>

       

                      <configuration>

       

                          <failOnMissingWebXml>false</failOnMissingWebXml>

       

                      </configuration>

       

                  </plugin>

       

      </plugins>

       

        </build>

       

      </project>