Maven plug-in
By tomcat: run the command post, there maven Memory database file D: \ maven_web \ target \ tomcat \ conf \ tomcat-users.xml can not be read error, the project tomcat need to delete the folder, and then perform it again tomcat: run command
In pom.xml configuration information to the tomcat
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<version>2.2</version>
</plugin>
Common methods:
Written in pom.xml
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-api</artifactId>
<version>7.0.47</version>
<scope>provided</scope>
</dependency>
Added packet in the item war tomcat configuration, if there is no war package constructed first, and then after filling the following items war package shown in FIG.
Personally think that the general type of useful comparison point = =!
To be continued ...