Errors in web.xml file - Servlet constraint does not have simple type

Hello,

I just upgraded an application from Cuba Platform 7.1.1 to 7.2.11. Everything seemed to work fine and the app was working as expected. When I attempted to commit my changes, errors were found in modules/web/web/WEB-INF/web.xml and modules/core/web/WEB-INF/web.xml. The errors are all similar:

A field of identity constraint 'web-common-servlet-name-uniqueness' matched element 'web-app', but this element does not have a simple type.

I’m not sure what this is referencing or how to resolve the issue. I haven’t found any similar posts on the forum.

Is there any way someone could provide some assistance?

Thanks in advance,
Adam

I closed the Cuba application and when I reopened it and tested it the next day the errors were no longer there when attempting to commit to Github. Weird.

Hi,
This was just a false positive.
IntelliJ IDEA isn’t saint. Not all inspection warnings or errors indicate real problem.