File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: MyEclipse won't validate web.xml file
 
Similar Threads
neewbie web.xml problem
More than one servlet entry in web.xml throws error
Mapped JSP Page not showing up on giving the URL pattern
EL not working in my jsp
EL Configuration Problem