[Error][IntelliJ IDEA] Element XXX is not allowed here

Questions

When using IntelliJ idea to build a project, errors such as element XXX is not allowed here are encountered in the XML file

For example, the following element resultmap is not allowed here error is encountered in the XML configuration file

resolvent

The configuration of the header of the XML file is wrong, and the names of the three places in the red box should be consistent


Read More: