0 Replies Latest reply on Jan 21, 2008 6:22 AM by helix

    TLD's aren't loades from jars in classpath

    helix

      Hi,

      I use JBoss AS 4.2.2.GA and deployed 2 WAR's (expanded) in the JBoss\server\default\deploy directory.

      I use some JAR archives (like struts.jar) that are common to both web apps, so I copied them into JBoss\server\default\lib, the TLD files are in the META-INF directories of these JAR's and are referenced in the JSP's by their absolute URI e.g. http://struts.apache.org/tags-bean.

      Now, I get always the error:
      ServletException in '/layout.jsp': The absolute uri: http://struts.apache.org/tags-bean
      cannot be resolved in either web.xml or the jar files deployed with this application

      Now I wonder why their not found, because the JBoss\server\default\lib directory is stated as a shared lib directory for all applications by the docs.

      Maybe someone can give me an explanation.

      Regards
      helix