File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Unable to load class set" Watch "Unable to load class set" New topic

Unable to load class set

Dave Mere
Ranch Hand

Joined: Oct 25, 2004
Posts: 37

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

Joined: Jan 10, 2002
Posts: 63873

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] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Unable to load class set
It's not a secret anymore!