On 1/12/06, Sven Gehr <[EMAIL PROTECTED]> wrote: > I use tomcat-5.0.30 on a suse10-system. When I start tomcat I get an long > error-output in catalina.out. Can anybody help me to fix this? ... > Jan 13, 2006 12:19:30 AM org.apache.commons.digester.Digester error > SEVERE: Parse Error at line 1062 column 94: Element type "message-resources" > must be declared. > org.xml.sax.SAXParseException: Element type "message-resources" must be > declared. ... > Jan 13, 2006 12:19:30 AM org.apache.commons.digester.Digester error > SEVERE: Parse Error at line 1064 column 17: The content of element type > "struts-config" must match > "(data-sources?,form-beans?,global-forwards?,action-mappings?)". > org.xml.sax.SAXParseException: The content of element type "struts-config" > must match "(data-sources?,form-beans?,global-forwards?,action-mappings?)".
I can't tell which webapp it is, but one of the struts-config files is broken. It looks like someone has used the the <message-resources> tag in a Struts 1.0 config file. Look for a struts-config file (usually named struts-config.xml) that has this at the top: <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.0//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd"> and also has a <message-resources> tag in it. Most likely, you're really using a newer version of Struts, so fix the DOCTYPE and the error should go away. :) -- Wendy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]