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

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


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.


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>


I copied the whole file with the taglib declaration from somewhere else and got the same compilation error. I deleted the file, created a new one and pasted the same contents. Sounds weird but worked! Hope it helps someone. :)