在pom.xml中引入tomcat7插件,具体示例代码如下:

<project>
<build>
<plugins>
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<version>2.1</version>
<configuration>
<port>8080</port>
<path>/</path>
<uriEncoding>UTF-8</uriEncoding>
<server>tomcat7</server>
</configuration>
</plugin>
</plugins>
</build>
</project>

配置run tomcat

最新文章

  1. Selenium的PO模式(Page Object Model)[python版]
  2. Python的由来
  3. 硬件抽象层:HAL
  4. Day02_JAVA语言基础第二天
  5. 请添加 MIME 映射
  6. 让&lt;a&gt;&lt;/a&gt;diabled 的方法
  7. 常用的php数组排序函数
  8. Java文件解压
  9. MyBatis(3.2.3) - Configuring MyBatis using XML, Mappers
  10. shell如何生成rpm包仓库列表文件的对比结果
  11. NSThread 、NSRunLoop 和 Dispatch Queue
  12. 计算BMI指数的小程序
  13. Vue源码后记-其余内置指令(1)
  14. 4.2 例题: 统计字符数 poj2247
  15. 保护 .NET Core 项目的敏感信息
  16. array_diff()
  17. 嵌入式GCC笔记
  18. HU-1043
  19. Go内建函数copy
  20. STL 智能指针

热门文章

  1. 【LDAP】LDAP 中 CN, OU, DC 的含义
  2. 比特币--私钥-&gt;公钥-&gt;钱包地址
  3. fileupload NPOI导入EXECL数据
  4. ubuntu .net core The specified framework &#39;Microsoft.NETCore.App&#39;, version &#39;1.0.1&#39; was not found
  5. Flex Validator的小BUG
  6. 基于springmvc开发注解式ip拦截器
  7. [vijos]lxhgww的奇思妙想(长链剖分)
  8. 无法找到msvcp90.dll的一个碰巧解决办法
  9. REP-0118:can not create temporary file(无法创建临时文件)
  10. System Center Configuration Manager 2016 必要条件准备篇(Part2)