0

Hi,

I just installed Tomcat 5.5 and could see the default index page (with images missing)

Upon running the sample JSPs, I get the following-

HTTP Status 404 - Servlet default is not available

In the logs, I can see a Root Cause saying something like- "java.lang.NoClassDefFoundError: org/apache/naming/resources/Resource"

Basically, I get a 404 whenever I try to access any JSP or even an image (this I could gather from the fact that the images on the default index page)

Where am I going wrong? I am new to JSP

3
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by peter_budo
0

The exception "java.lang.NoClassDefFoundError: org/apache/naming/resources/Resource" indicates that tomcat cannot find the above class anywhere in the classpath.
In tomcat5.5 this class is in the file 'naming-resources.jar'. See if this file is present at the location <tomcat5.5>\common\lib
I think due to some reason tomcat might not have installed properly. Try installing it again.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.