1.maven Environment Setup and initialization reference: http://blog.csdn.net/zhangzeyuaaa/article/details/39697065
(Suggestion: The above operation: Mvn-help:system will default to create the. m folder under C disk, with the increase of download files will occupy a lot of C disk capacity, so we are doing mvn-help: System operations can be modified in the Setting.xml file under Conf in the MAVEN installation folder <localrepository>e:\maven\repository</localrepository I was changed to the Maven folder under E-disk and also needed to be added under the Mirrors node in the setting file:
<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>, and then perform mvn-help:system operation)
2.eclipse Create Spring+springmvc+mybatis+maven project reference: http://blog.csdn.net/evankaka/article/details/48785513?spm= 5176.100239.blogcont28591.7.emojwe
Tip: The exception information ASM Classreader failed to parse class file solves the problem by upgrading the JDK to 1.7 or spring to Spring4