I have written a simple hello world app using Spring and an
ANT script to generate JAR file for the hello world app. The JAR is getting generated and the classes are getting compiled properly. I then copied the JAR into my
tomcat webapps folder, started tomcat and loaded the index.jsp page. When i tried to navigate from the index.jsp page my
Servlet inside the JAR is not getting recogonized. it throws the below given exception.
can someone please tell me why my Servlet class is not getting recogonized?
my directory structure is
my build.xml is
i tried creating JAR using eclipse. This also gives errors.
can someone help, please?
this is the structure of the jar that is being generated.