How to use custom JSP tags in a development environment
My question is pretty simple and I think it should have a pretty simple answer. However, Google did not help me, so I turn to you!
I have a multi-project setup where
is a web app that depends on
is embedded in a JAR file with a directory
, which is then included in the WAR file
and run on Tomcat 8. When the project is built this way, everything works as expected.
My problem occurs during development. I am using a locally modified version of the Sysdeo Tomcat Plugin which seems to work very well in most cases. The problem is that when deploying a web application
, it is
simply included in the classpath through the directory
created by Eclipse. Since this is not a JAR file,
not found in the default configuration. I got around this hiccup by using the
<JarScanner scanAllDirectories='true' />
The TLD file lists the tags that point to locations in the directory
, as such:
<tag-file> <name>pane</name> <path>/META-INF/tags/pane.tag</path> </tag-file>
But at runtime I get:
org.apache.jasper.JasperException: File [/META-INF/tags/pane.tag] not found
I expect some configuration for Jasper is simply missing here, but I can't find it. I appreciate your help, and if I can provide more details please just ask!
source to share