This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JSP and the fly likes JSTL error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » JSP
Bookmark "JSTL error" Watch "JSTL error" New topic

JSTL error

colm o'donnell

Joined: Apr 07, 2008
Posts: 17

I'm trying to get JSTL working on my computer. I am using tomcat 5.5.17. I have put the standard.jar and JSTL.jar in my webapps/ROOT/WEB-INF folder but I'm still getting an error. This is my code for my test page -

When I run it tho I get this error:

java.lang.NoClassDefFoundError: org/apache/xpath/XPathException

Can somebody please please help me with this.

Thanks a Million

Bobby Sharma
Ranch Hand

Joined: Mar 18, 2008
Posts: 596

try to put this Jstl lib on lib directory.

Let's see what happens.

Most of the programming problems can't be solved because you don't know what the exact problem is.
Defining your problem correctly leads you to the right solution.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63208

Originally posted by colm o'donnell:
I have put the standard.jar and JSTL.jar in my webapps/ROOT/WEB-INF folder ...

As omi pointed out, jar files belong in WEB-INF/lib. Also, it's jstl.jar unless you renamed it.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Have you checked out Aspose?
subject: JSTL error
It's not a secret anymore!