wood burning stoves*
The moose likes JSP and the fly likes MyEclipse won't validate web.xml file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "MyEclipse won Watch "MyEclipse won New topic
Author

MyEclipse won't validate web.xml file

Mike Ottinger
Ranch Hand

Joined: Jan 11, 2002
Posts: 125
Hello, I'm getting these errors in myEclipse for my web.xml file:

Attribute "version" must be decalred for element type "web-app".
Attribute "xmlns:xsi" must be decalred for element type "web-app".
Attribute "xmlns" must be decalred for element type "web-app".
Attribute "xsi:schemaLocation" must be decalred for element type "web-app".

I'm running MyEclipse 3.8.2 Tomcat 5.0 JSP spec 2 jdk 1.4. Windows 2000
My application works fine regardless, it's more of a nuisance than anything. Has anybody had this happen before?

- Mike


SCJP 1.4 SCJD 1.5
Mike Ottinger
Ranch Hand

Joined: Jan 11, 2002
Posts: 125
I think I got it, I let myeclipse generate a fresh web.xml, I think messing with with file outside of myeclipse causes it to get "corrupted" somehow. Thanks anyways...
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: MyEclipse won't validate web.xml file