error: web.xml is an invalid file

I have a web module. Whenever I do a single file compile, it complains my web.xml is an invalid file. If I just ignore the message and try to compile again, error message disappears. It is kind of annoying. Anyone knows what causes this?

Please sign in to leave a comment.