Preface: In the construction of SPRINGMVC Maven project encountered problems to summarize, for example, there is no src after the construction, but also here to solve the problem of Maven import is very slow.
Problem:
1, found that the MAVEN project was created without SRC file, and Maven import is very slow
Workaround:
At this time of the new project (for example), click on the plus sign, fill in the Name Input box Archetypecatalog, fill in the input box of value internal, click OK;
Then add the following code to the selected Maven profile Setting.xml and save it back to idea.
<Mirror> <ID>Alimaven</ID> <mirrorof>Central</mirrorof> <name>Aliyun maven</name> <URL>http://maven.aliyun.com/nexus/content/repositories/central/</URL></Mirror>
Click Next to continue building the system.
After setting the appearance:
Solution: SPRINGMVC Maven project has not been built after the SRC directory