I added a tld file in my JAR library under
/META-INF/resources/WEB-INF/tlds/example.tld"
and then in my webapp that includes the JAR lib I use the tld in my jsp like:
<%@ taglib uri="/WEB-INF/tlds/example.tld" prefix="ex"%>
${ex: function(var)}
When I compile and run the webapp, everything works fine, but Netbeans gives me the following error.
File "/WEB-INF/tlds/example.tld" not found
Does anyone know how to fix the error or what is the correct way to use tlds from JAR libraries?