Announcement Announcement Module
No announcement yet.
Tiles 2 - taglib tags-tiles missing!? Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Tiles 2 - taglib tags-tiles missing!?


    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:

    org.apache.jasper.JasperException: The absolute uri: 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?

    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:

    Any hint on how to avoid putting the 'tiles-jsp-2.1.4.jar' in the lib directory would be appreciated...
    Last edited by snagogo; Aug 31st, 2010, 07:53 AM. Reason: added zips