aspose file tools*
The moose likes JSP and the fly likes Unable to load class set Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Unable to load class set" Watch "Unable to load class set" New topic
Author

Unable to load class set

Dave Mere
Ranch Hand

Joined: Oct 25, 2004
Posts: 37
Hi,

Having a problem recompiling an app that previously worked. The problem occurs when I try to load a particular jsp.

The log produces thus:


jsp code:


I've got c.tld in the WEB-INF folder, and in the web.xml the following



But I'm still missing something. Can anyone help?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61010
    
  65

You've rather over-engineered things. The c.tld should not be extracted, and you don't need the web.xml declaration. The TLD should be automatically located in the JSTL jar file if you use the correct URI in the taglib directive.

Here's what I suggest:

1) Read the JSP FAQ to make sure that you are using compatible versions of JSP and the JSTL.

2) Be sure that both of the JSTL jar files are in WEB-INF/lib.

3) Remove the c.tld file from your hierarchy.

4) Remove the <taglib> element from your web.xml

5) Change the <% @taglib %> directive on your page(s) to reference the tld by its proper URI.

If that doesn't fix your problem, at least it gets a lot of dreck out of the way to find out what the real problem is.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
jQuery in Action, 2nd edition
 
subject: Unable to load class set