This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Unable to open taglibrary Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Unable to open taglibrary" Watch "Unable to open taglibrary" New topic
Author

Unable to open taglibrary

Bikash Paul
Ranch Hand

Joined: Dec 04, 2001
Posts: 342
Hi,

We have one very old application which is running on Tomcat3.2. We have modified one of the JSP file(wb.jsp) recently and after that we started getting below error during loading of application but the error disappeared if we revert back the original file. Then we found that Tomcat is using old compiled file from 'work' folder becuase if we clean up 'work' folder of Tomcat then also we are getting below compile exception.We also verified physical location of rwptaglib.tld file.


Could you please let me know the root cause of this issue.

Thanks,
-Bikash
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15629
    
  15

I suspect that the TLD file has a URL in it that points to a defunct website.


Customer surveys are for companies who didn't pay proper attention to begin with.
Bikash Paul
Ranch Hand

Joined: Dec 04, 2001
Posts: 342
Hi,

Thanks!!!

The below mentioned URL in the rwptaglib.tld file doesn't exists anymore.



They changed the DTD file name to "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd"

So compilation exception disappeared after modification in the name of DTD file.

Thanks,
-Bikash
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to open taglibrary
 
Similar Threads
Taglib newbie question
Opening a file with relative path
JSP - Excel using POI
can't connect Mysql 5.2 server on '127.0.0.1' (10061)
jsp taglib problem in IBM websphere4.0