[jboss-user] [Installation, Configuration & DEPLOYMENT] - TLD's aren't loades from jars in classpath

helix do-not-reply at jboss.com
Mon Jan 21 06:22:09 EST 2008


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

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121782#4121782

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121782



More information about the jboss-user mailing list