Attribute xmlns was already specified for element web-app

Attribute xmlns was already specified for element web-app

If you are working on web application and getting exception in web.xml file: Attribute “xmlns” was already specified for element “web-app”. means xmlns is repeated as below:

  • To fix this please replace with below:

2 thoughts on “Attribute xmlns was already specified for element web-app

Leave a Reply

Your email address will not be published. Required fields are marked *