Hi,
I tried that all the things are in order and I implemented also. Now its working fine.
Mistake is not in order what they have mentioned result-types?,interceptors?,default-interceptor-ref?,default-action-ref?,default-class-ref?,global-results?,global-exception-mappings?,action.
I resolved it by in the order what they have specified.
Thanks and Regards,
Satheesh Kannan A B
-----Original Message-----
From: Dave Newton [mailto:davelnewton@(protected)]
Sent: Friday, September 03, 2010 4:05 PM
To: Struts Users Mailing List
Subject: Re:
org.xml.sax.SAXParseException: The content of element type "package" must match
On Thu, Sep 2, 2010 at 9:24 AM, Satheesh Kannan A B wrote:
> I think it's a existing and resolved issues in struts 2.1.8, since I have googled and searched here but am not able to resolve this.
Really?
> The content of element type "package" must match "(result-types?,interceptors?,default-interceptor-ref?,default-action-ref?,default-class-ref?,global-results?,global-exception-mappings?,action*)".
> ...
> <package name="KEW" extends="struts-default" >
> <global-results> ...
> <interceptors> ...
So, you have a package.
Packages can contain all of the elements shown in the error message.
The elements must be in the order shown in the error message.
The elements in *you* package are *not* in the order shown in the error message.
Hence the error message.
Before spending too much more time on this, I'd try following the DTD
and see if that helps.
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)