maven tomcat插件记录

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/sinat_33625560/article/details/84851856
         <plugin>
			<groupId>org.apache.tomcat.maven</groupId>
			<artifactId>tomcat7-maven-plugin</artifactId>
			<version>2.1</version>
			<configuration>
				<port>8082</port>
				<uriEncoding>UTF-8</uriEncoding>
				<server>tomcat7</server>
				<path>/node2</path>
			</configuration>
		</plugin>

添加配置在pom中然后在maven中找到这个tomcat7插件直接run就可以直接启动项目而不用在配置tomcat了,很方便

猜你喜欢

转载自blog.csdn.net/sinat_33625560/article/details/84851856
今日推荐