Hi, people.
I try some help from struts mailing list but I got no solution. I
am using a apache+jserv_mod+tomcat and this works fine. I am trying to
begin develop with Struts, but when I put *.war file on tomcat's webapps
dir, and restart the tomcat I got the following error:
darkness# /usr/local/tomcat/bin/startup.sh
Guessing TOMCAT_HOME from tomcat.sh to /usr/local/tomcat/bin/..
Setting TOMCAT_HOME to /usr/local/tomcat/bin/..
Using classpath:
/usr/local/tomcat/bin/../classes:.:/usr/local/tomcat/bin/../lib/ant.jar:/usr/local/tomcat/bin/../lib/jasper.jar:/usr/local/tomcat/bin/../lib/mysql_comp.jar:/usr/local/tomcat/bin/../lib/mysql_uncomp.jar:/usr/local/tomcat/bin/../lib/servlet.jar:/usr/local/tomcat/bin/../lib/webserver.jar:/usr/local/tomcat/bin/../lib/xml.jar
darkness# Starting tomcat. Check logs/tomcat.log for error messages
java.lang.NoClassDefFoundError
darkness#
If I rename the web.xml from WEB-INF diretory to another name,
this does not happen:
darkness# mv /usr/local/tomcat/webapps/struts-test/WEB-INF/web.xml
/usr/local/tomcat/webapps/struts-test/WEB-INF/w
darkness# /usr/local/tomcat/bin/startup.sh
Guessing TOMCAT_HOME from tomcat.sh to /usr/local/tomcat/bin/..
Setting TOMCAT_HOME to /usr/local/tomcat/bin/..
Using classpath:
/usr/local/tomcat/bin/../classes:.:/usr/local/tomcat/bin/../lib/ant.jar:/usr/local/tomcat/bin/../lib/jasper.jar:/usr/local/tomcat/bin/../lib/mysql_comp.jar:/usr/local/tomcat/bin/../lib/mysql_uncomp.jar:/usr/local/tomcat/bin/../lib/servlet.jar:/usr/local/tomcat/bin/../lib/webserver.jar:/usr/local/tomcat/bin/../lib/xml.jar
darkness# Starting tomcat. Check logs/tomcat.log for error messages
darkness#
What is hapenning? A syntax error in this file? But it is original
from struts.....
Can anyone send me some lights? Thank you.
CUL8R,[]s
Jim Bruno Goldberg <[EMAIL PROTECTED]>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets