This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes IDEs, Version Control and other tools and the fly likes Cannot resolve taglibrary Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Cannot resolve taglibrary" Watch "Cannot resolve taglibrary" New topic
Author

Cannot resolve taglibrary

Gerome Kawa
Ranch Hand

Joined: Dec 05, 2002
Posts: 61
I am using Intellij IDEA .
I have in a JSP the following line


The /WEB-INF/gui_taglib.tld is getting displayed in red saying
Cannot resolve taglibrary


Can anyone tell me how to resolve this ?
Gerome Kawa
Ranch Hand

Joined: Dec 05, 2002
Posts: 61
The following line should be within the code block in the above post:

<%@ taglib uri="/WEB-INF/gui_taglib.tld" prefix="gui" %>
Gerome Kawa
Ranch Hand

Joined: Dec 05, 2002
Posts: 61
taglib uri="/WEB-INF/gui_taglib.tld" prefix="gui

is what I meant above.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30353
    
150

Do you have the taglib defined in your web.xml file?

Also, double check your classpath contains the taglib. It should since you are using an IDE.
[ September 22, 2004: Message edited by: Jeanne Boyarsky ]

[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
jQuery in Action, 2nd edition
 
subject: Cannot resolve taglibrary