File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes Tld not found in jboss 6 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Tld not found in jboss 6" Watch "Tld not found in jboss 6" New topic

Tld not found in jboss 6

barbar beb

Joined: Apr 01, 2011
Posts: 2
Hi, I had an application working perfectly in jboss 5. But in jboss 6 i encountered errors. I changed my spring libraries into newest spring libraries online, it fixed some issues. However, now I have problem with tld's not found.

In JbOSS 5 I didnt have this issue, I wrote tld folder in same level of web-inf, not inside it. When I reference it on top of jsp page , it finds it in JBOSS 5 ( <%@ taglib uri="/tld/CustomSprinSecTags.tld" prefix="sec" %> ) . However in Jboss 6, page crashes when i open it, saying tld not found.

When I changed this <%@ taglib uri="/tld/CustomSprinSecTags.tld" prefix="sec" %> into <%@ taglib prefix="sec" uri="" %> the page worked again. How can I solve this issue, and make tld's be found.

this solution didnt help my case

<bean name="TldParsingDeployer" class="org.jboss.deployment.TldParsingDeployer">
<property name="relativeOrder">2002</property>
<property name="useSchemaValidation">false</property>

why isnt it finidng the tld that I have written in jboss 6?
barbar beb

Joined: Apr 01, 2011
Posts: 2
2011-04-01 10:07:58,468 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/newApplication].[jsp]] (http- Servlet.service() for servlet jsp threw exception: org.apache.jasper.JasperException: File "/tld/CustomSprinSecTags.tld" not found
at org.apache.jasper.compiler.DefaultErrorHandler.jspError( [:6.0.0.Final]
at org.apache.jasper.compiler.ErrorDispatcher.dispatch( [:6.0.0.Final]
at org.apache.jasper.compiler.ErrorDispatcher.jspError( [:6.0.0.Final]
at org.apache.jasper.compiler.TagLibraryInfoImpl.<init>( [:6.0.0.Final]
at org.apache.jasper.compiler.Parser.parseTaglibDirective( [:6.0.0.Final]
at org.apache.jasper.compiler.Parser.parseDirective( [:6.0.0.Final]
at org.apache.jasper.compiler.Parser.parseElements( [:6.0.0.Final]
at org.apache.jasper.compiler.Parser.parse( [:6.0.0.Final]
at org.apache.jasper.compiler.ParserController.doParse( [:6.0.0.Final]
at org.apache.jasper.compiler.ParserController.parse( [:6.0.0.Final]
at org.apache.jasper.compiler.Compiler.generateJava( [:6.0.0.Final]
at org.apache.jasper.compiler.Compiler.compile( [:6.0.0.Final]
at org.apache.jasper.compiler.Compiler.compile( [:6.0.0.Final]
at org.apache.jasper.compiler.Compiler.compile( [:6.0.0.Final]
It is sorta covered in the JavaRanch Style Guide.
subject: Tld not found in jboss 6
Similar Threads
html:checkbox disable property
"WEB-INF/lib/struts-html.tld" not Found
include taglibs problem
Issue when deploying Struts app that runs on weblogic 8.1 to weblogic 11g
No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or