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

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.