Packaged tag file validation [message #1610321] |
Tue, 10 February 2015 13:21  |
Eclipse User |
|
|
|
There is a java concept called packaged tag files which means you put your tag library descriptor (TLD) and tag files (.tag) into the META-INF directory (and tags subdirectory) of a JAR file. I have done so correctly. Then on another project I added my tags.jar file to the Java build path so Eclipse will know about it.
Unfortunately, whenever I add a new "tag-file" element to the TLD, and reference the tag from a JSP file, the JSP validation highlights the tag in yellow and says "Unknown tag". This is a little funny because the drop-down autocomplete feature does show the tag option.
It's almost like Eclipse only looks at the TLD when it's first added to the build path, then ignores any changes to the JAR file's TLD. I am testing this in Eclipse Luna. I have tried with a Java project and also with a Dynamic Web Module project. It doesn't work with either.
So my question is:
How do I fix this error and make it so my tags aren't highlighted in yellow?
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03197 seconds