spring in error when import an xml file: ideaIncorrect resource type

The following error message: Incorrect resource type

Read this file exists, the path is not wrong. So online Baidu a little mistake, and I feel the situation does not correspond.

Later found a problem, sign this document with the other is not the same, given that the following file is.

Right then the file to see is not set up something. The result is indeed a problem here, right there is an option to Mark as XML, and then not being given.

This time as a sign the two documents and files that you then right, then there will be a Mark as Plain Text option, click, then it will turn into the kind of situation before, and really do not know when to point to. . Record it

Published 98 original articles · won praise 9 · views 50000 +

Guess you like

Origin blog.csdn.net/liucai1018/article/details/103632647