Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can not find the tag library descriptor for "http://tiles.apache.org/tags-tiles"

I am creating an application using Tiles, Spring and Hibernate.

When when running, it is showing following error:

Can not find the tag library descriptor for "http://tiles.apache.org/tags-tiles"

All the jars are included and mapping is also seeing fine. Where I am going wrong?

like image 679
user1653773 Avatar asked Sep 09 '12 18:09

user1653773


2 Answers

The url looks ok.

Your problem sounds a bit like you are missing some tiles jars. Make sure that a jar containing tiles-jsp.tld is added to your projects web libs folder.

One jar that contains this file is for example: tiles-jsp-2.2.1.jar.

like image 190
Ralph Avatar answered Nov 03 '22 23:11

Ralph


In pom.xml file appended below artifacts and compiled well this time.

<!-- Tiles -->
        <dependency>
            <groupId>org.apache.tiles</groupId>
            <artifactId>tiles-api</artifactId>
            <version>2.1.2</version>
        </dependency>
        <dependency>
            <groupId>org.apache.tiles</groupId>
            <artifactId>tiles-core</artifactId>
            <version>2.1.2</version>
        </dependency>
        <dependency>
            <groupId>org.apache.tiles</groupId>
            <artifactId>tiles-jsp</artifactId>
            <version>2.1.2</version>
        </dependency>
        <dependency>
            <groupId>org.apache.tiles</groupId>
            <artifactId>tiles-servlet</artifactId>
            <version>2.1.2</version>
        </dependency>
like image 21
Raja Avatar answered Nov 04 '22 00:11

Raja