File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Java 8 in Action this week in the Java 8 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: 29287
    
140

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