Update the web-app version specified in `web.xml` to 3.1 in order to make Eclipse happy. Closes gh-29075