0
点赞
收藏
分享

微信扫一扫

maven中添加tomcat7插件动态模板

紫荆峰 2022-08-17 阅读 184


1.打开file里面的setting直接搜live

maven中添加tomcat7插件动态模板_tomcat


2.这里选择下面添加一个组,选第二个

maven中添加tomcat7插件动态模板_tomcat_02

3.命名为custom

maven中添加tomcat7插件动态模板_tomcat_03


4.选定这个组,在这个组上面选1,添加一个模板

maven中添加tomcat7插件动态模板_apache_04


5.名字写tomcat7

maven中添加tomcat7插件动态模板_apache_05


6.把插件的代码复制进去

<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<version>2.2</version>
<configuration>
<port>8888</port>
</configuration>
</plugin>

7.选择下面适应所有xml文件

maven中添加tomcat7插件动态模板_tomcat_06


8.点击apply和ok之后,在插件中就会出现它的快捷书写

maven中添加tomcat7插件动态模板_apache_07


举报

相关推荐

0 条评论