Thanks to everyone who replied.  My problem was:

INFO: Initializing,
config='org.apache.struts.action.ActionResources',returnNull=true
24/05/2004 14:05:55 org.apache.commons.digester.Digester error
SEVERE: Parse Error at line 18 column 19: The content of element type
"set-property" must match "EMPTY".
org.xml.sax.SAXParseException: The content of element type "set-property"
must match "EMPTY".

In my struts-config file had the following entry:

<set-property property="definitions-parser-validate" value="true">
</set-property>

When I changed it to:

<set-property property="definitions-parser-validate"
value="true"></set-property>

The errors went away. Can anyone tell me why this is the case?

Thanks.

-----Original Message-----
From: Joe Germuska [mailto:[EMAIL PROTECTED]
Sent: Monday, 24 May 2004 22:55 PM
To: Struts Users Mailing List
Subject: Re: Tomcat startup error using struts.


At 2:30 PM +1000 5/24/04, BARBEY Stuart R wrote:
>Has anyone seen the following error before?
>
>INFO: Initializing, config='org.apache.struts.action.ActionResources',
>returnNull=true
>24/05/2004 14:05:55 org.apache.commons.digester.Digester error
>SEVERE: Parse Error at line 18 column 19: The content of element type
>"set-property" must match "EMPTY".
>org.xml.sax.SAXParseException: The content of element type "set-property"
>must match "EMPTY".

Presumably the XML parser has found that you have a non-empty 
<set-property> element on line 18 of your struts-config file.

If you have <set-property property="foo" value="bar">,
it should be <set-property property="foo" value="bar" />

Joe

-- 
Joe Germuska            
[EMAIL PROTECTED]  
http://blog.germuska.com    
       "Imagine if every Thursday your shoes exploded if you tied them 
the usual way.  This happens to us all the time with computers, and 
nobody thinks of complaining."
             -- Jef Raskin

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

IMPORTANT NOTICE: This e-mail and any attachment to it are intended only to be read or 
used by the named addressee. It is confidential and may contain legally privileged 
information. No confidentiality or privilege is waived or lost by any mistaken 
transmission to you. The RTA is not responsible for any unauthorised alterations to 
this e-mail or attachment to it. Views expressed in this message are those of the 
individual sender, and are not necessarily the views of the RTA. If you receive this 
e-mail in error, please immediately delete it from your system and notify the sender. 
You must not disclose, copy or use any part of this e-mail if you are not the intended 
recipient.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to