如何在maven中的项目使用tomcat插件
2024-08-31 07:11:27
在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
最新文章
- Selenium的PO模式(Page Object Model)[python版]
- Python的由来
- 硬件抽象层:HAL
- Day02_JAVA语言基础第二天
- 请添加 MIME 映射
- 让<;a>;<;/a>;diabled 的方法
- 常用的php数组排序函数
- Java文件解压
- MyBatis(3.2.3) - Configuring MyBatis using XML, Mappers
- shell如何生成rpm包仓库列表文件的对比结果
- NSThread 、NSRunLoop 和 Dispatch Queue
- 计算BMI指数的小程序
- Vue源码后记-其余内置指令(1)
- 4.2 例题: 统计字符数 poj2247
- 保护 .NET Core 项目的敏感信息
- array_diff()
- 嵌入式GCC笔记
- HU-1043
- Go内建函数copy
- STL 智能指针
热门文章
- 【LDAP】LDAP 中 CN, OU, DC 的含义
- 比特币--私钥->;公钥->;钱包地址
- fileupload NPOI导入EXECL数据
- ubuntu .net core The specified framework &#39;Microsoft.NETCore.App&#39;, version &#39;1.0.1&#39; was not found
- Flex Validator的小BUG
- 基于springmvc开发注解式ip拦截器
- [vijos]lxhgww的奇思妙想(长链剖分)
- 无法找到msvcp90.dll的一个碰巧解决办法
- REP-0118:can not create temporary file(无法创建临时文件)
- System Center Configuration Manager 2016 必要条件准备篇(Part2)