Reference: http://blog.csdn.net/luwei42768/article/details/72268246
After you create a MAVEN project in the Eclipse Project, sometimes the folder styles under the Src/main/resources directory change after you execute the command Maven update or maven clean or maven install, and have been depressed before, It is the reason for the change in the Eclipse settings, which is caused by the error of the code, and by the online query (the reference URL in the first line of the essay). Now the solution to this problem is described in detail as follows:
1. Problem symptoms
(1) The normal situation is this: Mapper is the form of a folder
(2) Abnormal situation is this: Mapper into a white bag style
2. Workaround
(1) Right-click on the project/properties and follow the steps
(2) Pop up the dialog box as shown below, click Add
(3) Pop Up the following dialog box, press Step 1 (fill in the blank line two "asterisk"), 2 operation
(4) The following dialog box appears, click Finish to
(5) Click OK, everything is done, this is the normal display.
(6) Display style at this time:
Resolves an issue where the folder created under the Src/main/resources directory in Eclipse Maven project is not a folder, but a "package" icon style