This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread 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 Android Security Essentials Live Lessons this week in the Android 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: 30130
    
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
 
 
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