File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Cannot resolve taglibrary" Watch "Cannot resolve taglibrary" New topic

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

Joined: May 26, 2003
Posts: 30068

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
subject: Cannot resolve taglibrary
Similar Threads
Adding JSON tag library to Websphere RSA 7.0
Place JSP files in WEB-INF Folder
Urgent: My JSP taglib problems and errors running on Tomcat 4.0
Precompiling JSPs for iWS 6.0
Taglib newbie question