ClassNotFoundException under Tomcat

SSM Tech <[email protected]>
Newsgroups gmane.comp.java.sun.servlet
Message-ID <[email protected]>
Hello Sir,
I am working on Tomcat4.1.24 and have jsp/servlet application running on it.
The directory structure of the application is,
1) created a folder "web" under the "webapps" folder.
2) web contains folders "include"(containing included jsp pages), "WEB_INF" and
all the jsp pages.
3) WEB_INF contains "classes"(containing servlet classes and beans),"lib"
folder containing Executable JAR files( like
classes12.jar,poolman.jar,log4j.jar,xerces and so on... )and the web.xml file.
Classes also contains folder "sl" which contains folder "servlet" ( contains
all the servlet classes)and "com".
The web.xml file contains all the Servlet Definitions and Servlet Mappings.for
eample ,
<servlet>
<servlet-name>AppSelectionServlet</servlet-name>
<servlet-class>com.servicelane.screens.AppSelectionServlet</servlet-class>
</servlet>

and

<servlet-mapping>
<servlet-name>AppSelectionServlet</servlet-name><url-
pattern>/sl/servlet/AppSelectionServlet</url-pattern>
</servlet-mapping>.....

I am using poolman.xml for connection pooling...and have made neccesary
configuration to the server.xml file regarding the Oracle driver and set the
Context path="/web" and docBase="web".
When i login into the application it gives me an "User ID or Password is not
found or is not valid".
And the error in the respective Log file is "ServletException:
ClassNotFoundException : AppSelectionServlet could not be found.....
The folder "sl" contains all the servlets but it is still not able to find that
servlet.
Prevoiusly i was able to Login to the application and was able to access the
next page to Login.jsp..but now i am not able to do so..

Can anybody help me out with this situation.Am i missing some settings or i am
going wrong somewhere...Any suggestions are greatly appreciated.
Thanks a million in advance.

Regards.

___________________________________________________________________________
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.