Tomcat 5 can not find the ActionServlet when the application starts
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   William_Davis
Posted On:   Monday, August 30, 2004 11:22 AM

We tring to get a struts application running under Tomcat 5, but tomcat throws a ClassNotFound exception for the ActionServlet when the application loads. This is probably a simple config problem, any Ideas? Bill The web.xlm looks like : action org.apache.struts.action.ActionServlet config /WEB-INF/struts-config.xml debug 4 detail 9 validate true 1    More>>

We tring to get a struts application running under Tomcat 5, but tomcat throws a ClassNotFound exception for the ActionServlet when the application loads.


This is probably a simple config problem, any Ideas?



Bill



The web.xlm looks like :





action

org.apache.struts.action.ActionServlet



config

/WEB-INF/struts-config.xml





debug

4





detail

9





validate

true



1


   <<Less

Re: Tomcat 5 can not find the ActionServlet when the application starts

Posted By:   suman_Seshadri  
Posted On:   Monday, August 30, 2004 12:35 PM

The class not found exception occurs when the required classes are not there in the class path or not there at all. You can check the following.

1.check whether all the required jars are there in the class path. Put all required jars in the lib folder.
2. Check whether the java files are in the proper packages/folders.


It would also be useful if you could copy the whole Exception including the Stack Trace.


- Suman
About | Sitemap | Contact