当前位置:网站首页>idea配置web容器与war打包
idea配置web容器与war打包
2022-07-29 02:19:00 【肥仔哥哥1930】
前言
idea配置tomcat作为容器的博文很多,我这里也是自己备忘,然后呢。最近也没有啥有意思的东西分享的,就为突破200篇。
一、配置tomcat容器
废话也不多说,我这里是目前最新版本的idea,2022.1.4。我直接上图:

实际上还可以配置其他容器,jboss、jetty、glassFish等等。基本步骤:
- 官网下载zip包
- 解压到本地磁盘
- 配置添加对应容器,选择刚解压的目录
- 点击ok
二、idea配置打war


这第二张图的配置操作来源第一张图的配置操作,如果不做第一张图的配置操作,打出的war没有项目名。
三、idea配置打war


实际上server里也可以不加Before Launche,但是Deployment就必须加,否则启动tomcat不会build项目装载到容器中的。
总结
也没啥好总结的,这里就是截图,对着图上标注的路径,应该是比文字直接的,很多时候我其实也喜欢图示,当然命令类型的哪图示就有点不方便copy命令。
- 现在前后端分离了,用tomcat装载项目运行好像long long ago用过了。。。。
- springBoot几乎是霸主了,早不用自己打包搞了
- maven等都有打包插件,pom里写build脚本就行,避免别人下载代码了还要配置容器,多好
- 前后端分离了,精细化的各干各事,还是很棒的,就是现在互相之间太卷了。。。
边栏推荐
- This blogger has a comprehensive classification of QT. If you are free, go to study and summarize it and record it.
- 平凡的快乐
- Three expiration strategies
- Family relationship calculator wechat applet source code
- 3D intelligent factory process flow visualization interactive display application advantages
- 全新UI四方聚合支付系统源码/新增USDT提现/最新更新安全升级修复XSS漏洞补单漏洞
- Polygon zkevm - Introduction to HERMEZ 2.0
- STM32F103 learn the steps and template fool tutorial of 1-keil5 project establishment
- JMeter's BeanShell generates MD5 encrypted data and writes it to the database
- Youxuan software appoints Huang Zhijun as the general manager of the company
猜你喜欢

How to migrate thinkphp5 projects to Alibaba cloud function computing to cope with traffic peaks?

Understanding service governance in distributed development

QT compilation of IOT management platform 48 characteristic function design

优炫软件任命黄志军为公司总经理

Multiple inheritance and derived class member identification

A good-looking IAPP donation list source code

Multimodal unsupervised image to image translation

How does the Devops team defend against API attacks?

where、having、group by、order by,is null,not in,子查询,delete,日期函数

2022/07/28 learning notes (day18) common APIs
随机推荐
物联网组件
Redis队列实现秒杀
童年的快乐时光
PHP lucky draw system with background source code
MySQL basic operation and comprehensive instance project based on MySQL basic operation
Implement encapsulated public method global call in laravel framework
HTTP缓存
远离才会思念
Asemi rectifier bridge s25vb100, s25vb100 parameters, s25vb100 application
Understand the evolution of redis architecture in one article
外挂---线段树懒标记板子+简单数学推理
家庭亲戚关系计算器微信小程序源码
C语言:小乐乐与进制转换
主从复制及其原理
time_wait和close_wait产生原因
【报错】node:internal/modules/cjs/loader:936 【解决方法】
Catchadmin practical tutorial (IV) implementation of relevant functions of table components
Flink内核源码(七)Flink SQL提交流程
Master-slave replication and its principle
A good-looking IAPP donation list source code