aspose file tools*
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
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: 16055
    
  21

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