2 Attachment(s)
Tiles 2 - taglib tags-tiles missing!?
Hello!
I have a problem concerning Tiles 2.
Although the Tiles bundles are present in the repository/usr directory of the dm Server, I get the error:
Code:
org.apache.jasper.JasperException: The absolute uri: http://tiles.apache.org/tags-tiles cannot be resolved in either web.xml or the jar files deployed with this application
If I place a copy of 'tiles-jsp-2.1.4.jar' in the 'WEB-INF/lib' directory of my bundle, everything works fine - but that is not the OSGi way to do things, is it? :mad:
The sources (should be possible to import 'em in Eclipse) as well as a working web archive for use in dm Server 2.0.0.RELEASE are attached. (It was created by an export out of Eclipse)
The necessary Tiles Bundles that must be accessable to the dm Server can be downloaded by using Maven. Please refer to the descrptions in the pom.xml.
There are two ways to reproduce the error message:
(a) use mvn package
-> the maven-war-plugin is configured to exclude the 'WEB-INF/lib' directory in the packaged WAR
(b) delete the 'tiles-jsp-2.1.4.jar' from the 'WEB-INF/lib' directory
Afterwards deploy the bundle in the dm Server and access:
http:localhost:8080/dmspath/dms/home.jsp
Any hint on how to avoid putting the 'tiles-jsp-2.1.4.jar' in the lib directory would be appreciated...