Getting 'taglib directive for "f" does not exist or TLD is not found' [message #260532] |
Wed, 09 July 2008 11:56  |
Eclipse User |
|
|
|
Hi,
I'm using Eclipse 3.4 and when I open my JSF page in Eclipse, I'm getting
red "x"'s next to my JSF directives. For example,
<f:view>
has a red "x" along the left margin and when I roll over it, it gives me
the error, 'taglib directive for "f" does not exist or TLD is not found.'
This is odd because I have the appropriate directives, including
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
at the top of my page. Strangely, the "<%@" portion appears in red. Does
anyone know how I can get Eclipse to recognize the listed directives?
Thanks, - Dave
|
|
|
|
|
|
|
Re: Getting 'taglib directive for "f" does not exist or TLD is not found' [message #261248 is a reply to message #261209] |
Wed, 16 July 2008 09:58  |
Eclipse User |
|
|
|
Originally posted by: cmattmiller.gmail.com
Nitin Dahyabhai wrote:
> Dave Alvarado wrote:
>> Thanks for your reply. When I right click on my project, select
>> "Properties", click the "Libraries" tab, jstl-1.1.0.jar - (directory it
>> is in) appears. But beneath it read
>>
>> Source Attachment: (none)
>> Javadoc location: (None)
>> Native Library Location: (None)
>> Access rules: (No restrictions)
>>
>> Not sure if these are problematic or not. When you mentioned you
>> rewrote the '<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"
>> %>' line, how did you rewrite it?
> JSTL and JSF aren't provided by the same jars, are they?
No they aren't...my bad. There is a separate jsf-api.jar
|
|
|
Powered by
FUDForum. Page generated in 0.09870 seconds