Meaningless Drivel is fun!*
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
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: 29249
    
139

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cannot resolve taglibrary
 
Similar Threads
Precompiling JSPs for iWS 6.0
Urgent: My JSP taglib problems and errors running on Tomcat 4.0
Taglib newbie question
Place JSP files in WEB-INF Folder
Adding JSON tag library to Websphere RSA 7.0