Forget the maven war package idea.  I must have been mistaken because it
didn't work.   (I had a moment to try before I leave)

Regards,
David

-----Original Message-----
From: David Friedman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 05, 2006 9:39 AM
To: Struts Users Mailing List
Subject: RE: The content of element type "web-app" must match


I already tried that.  My Eclipse Callisto (3.2 stable) parsed it and found
no typing errors.   I quickly checked the order of the elements and they are
in the correct order, according to the BEA docs (I always reference them
because they come up first on my searches for some reason) at
http://e-docs.bea.com/wls/docs61/webapp/web_xml.html.  The only thing that
seemed different from my own web.xml was I have a space between the
encoding="..." and the end '?>' characters in the first line '<?xml...'
Everything else was in order, parsed correctly, DTD's correctly using the
Eclipse web tools. I didn't bother trying it out because I don't have those
(and there were a lot in there) servlets.

I recommend Lofti review all log files for the web server to obtain more
details on the error.  I believe Tomcat gives me more information on errors
like that (the element causing the problem) so I expect Netbeans would as
well if you know where to look. Perhaps, like Eclipse, it has a personal log
file outside of console logging?  I have to leave but maybe if there is no
solution when I return I'll see if I can drop it in my Maven build and see
if it logs any errors - I think it might have error out before on the build
if something wasn't correct in my web.xml during the war packaging stage.
It might be worth a try later.

Regards,
David


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

Reply via email to