Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MyEclipse won't validate web.xml file

 
Mike Ottinger
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Mike Ottinger
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic