Taglib problem in 8.1
Hi All,
Intellij versions 6 and 7 recognized my taglibs just fine, but now release 8.1 only recognizes one of them. They are all in the same directory, which I have added to the Web Resources Directories list. In the jsp editor they are highlighted in red, and hovering over them gives me a "Cannot resolve taglig with uri ..." message. The one that it recognizes seems to work fine. Examination of the .tld files with a text editor show no obvious differences between the one it does recognize, and the ones it does not.
Is anyone out there aware of this issue? Can anyone help me?
Thanks in advance.
Please sign in to leave a comment.
I see what has happened. In version 6 the generated web.xml maps the struts taglibs from their actual location to /tags/something, but the editor continues to recognize their actual location. In version 8 the web.xml is the same, but the editor no longer recognizes the actual location, and shows an error. Grrr.
I'm not sure about version 7, since there there was no generated web.xml for some reason. The app continued to work normally because we don't use the generated web.xml. Our ant script creates one for us.
I can't say this Intellij upgrade has been a pleasant experience, but at least it has a happy ending.
Hi Randy, mapping tlds in web.xml works for me... Are they located under a
content root? Also, how your mapped uris look like?