struts version 1.2.4 (latest) Tomcat version 5.0.28 Windows XP
When file struts-examples.war (or struts-blank.war or whatever) is put into webapps directory - the subdirectory struts-examples gets created, however, this application is not available and this is what LOG file says:
Oct 18, 2004 4:49:10 PM org.apache.catalina.core.StandardHostDeployer install INFO: Installing web application at context path /struts-examples from URL file :/Tomcat5.0/webapps/struts-examples Oct 18, 2004 4:49:10 PM org.apache.catalina.startup.HostConfig deployWARs SEVERE: Exception while expanding web application archive struts-examples.war java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet at java.lang.ClassLoader.defineClass0(Native Method) ........... end snippet .............
All system variables are defined (CATALINA_HOME and JAVA_HOME).
Are there any special configurations required for tomcat or struts?
Joined: Oct 18, 2004
Ok, I have to back off - it was all my fault - I put some *.jar files (from struts distribution) into JAVA_HOME\jre\lib\ext thinking it will let me avoid having struts files in every web-app. I was wrong. After removing un-needed stuff from extention directory all worked like a charm.