This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to load class set

 
Dave Mere
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64708
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic