How to Solve Web APP Tag Error in Web.xml

Web app error

The content of element type “web-app” must match……

Cause of problem

Not according to web app_2_3. Write web app tags according to DTD specification

Solution:

1. Write according to the specification, that is, write web app tags according to the order of tags in the error message. (recommended)

2. Delete the specification directly.

Similar Posts: