I am using My-eclipse and doing a struts project there is no syntax error but on starting tomcat server the following error appear in console.
java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory
and
javax.servlet.UnavailableException: Parsing error processing resource path jndi:/localhost/strutspro/WEB-INF/struts-config.xml
any idea whats the problem.
Donwload commons-logging and place the jar(s) in
WEB-INF/lib.And for the future – google the class name that is not found to see which library it belongs to, download it and put it on the classpath (
WEB-INF/libin this case)