当前位置:网站首页>IDEA打包war包与war包位置
IDEA打包war包与war包位置
2022-07-27 15:56:00 【扮作大侠】
背景
想在tomcat上简单粗暴地部署javaEE项目,上网查资料怎么打包war包费了很大功夫
研究了很长时间发现war包就在哪里放着,可惜我找不到
找war包
正常编译项目后就会生成war包
在没编译项目前项目目录结构是这样的
可以看到没有out和target文件夹
编译后就生成了out和target文件夹
我们要的war包就在生成的out文件夹里面
然后我们在我们的资源管理器里面去找它
在artifacts文件夹下有两个文件,注意是上面没有后缀exploded的文件夹里面
上面的这个就是我们要找的项目war包,放到tomcat的webapps目录下就能自动解压,注意tomcat要startup
手动生成
我不知道怎么把war包给删了,然后就迷茫了一点时间




成功生成
边栏推荐
- Knowledge dry goods: basic storage service novice Experience Camp
- How can we carry out NLP cross language knowledge transfer?
- The concept and characteristics of network security grid are simple and popular
- 机器学习之评价指标(二)——分类评价指标
- 卷积神经网络——从R-CNN,Fast R-CNN到Faster R-CNN,Mask R-CNN
- JDBC connection database reading foreground cannot display data
- How difficult the interview is! I was forced to survive the six rounds of interview of ant financial! Almost out (interview resumption)
- Convolutional neural network -- from r-cnn, fast r-cnn to fast r-cnn, mask r-cnn
- 快解析结合华途文档加密软件
- Kubernetes 1.24 high availability cluster binary deployment
猜你喜欢

Count the six weapons of the domestic interface cooperation platform!

类的六大关系——依赖和关联的区别

Are those who are absent from the written examination shortlisted for the teacher recruitment interview? Henan Xiangfu: the statistics of individual candidates' scores are wrong

I got the P8 "top-level" distributed architecture manual crazy spread on Alibaba intranet

The Ministry of industry and information technology re governs data security, and Netease Yidun "privacy compliance" keeps the bottom line of enterprise operation

How to learn C language? This article gives you the complete answer
![[Southwest University] information sharing of postgraduate entrance examination and re examination](/img/15/298ea6f7367741e1e085007c498e51.jpg)
[Southwest University] information sharing of postgraduate entrance examination and re examination

知物由学 | 关联图分析在反作弊业务中的应用
How to improve the security of Android applications?

Telecommuting can be easily realized in only three steps
随机推荐
快解析结合海典医药
js实现右键菜单栏功能
Likeshop takeout ordering system "100% open source without encryption"
知物由学 | 从0到1搭建实时反外挂机制,多维度补充手游攻防力
What are the safety risks of small games?
机器学习之评价指标(一)——回归评价指标
Fast analysis combined with Haidian medicine
The Ministry of industry and information technology re governs data security, and Netease Yidun "privacy compliance" keeps the bottom line of enterprise operation
知物由学 | SO加固如何提升Android应用的安全性?
With the right tools, CI achieves twice the result with half the effort
Does PostgreSQL 14 support winserver2022?
hutool- 数组工具
7月第4周易盾业务风控关注 | 最高法对APP强索个人信息进行规制
微信小程序 云函数批量删除多条数据 Error: errCode: -502005 database collection not exists
使用分布式框架WCF出现的BUG记录
【Codeforces】 A. Computer Game
知物由学 | 易盾自研文本实时聚类技术,一网打尽社交网络中的同类有害内容
树莓派驱动代码的编译和测试
Numpy array matrix operation
[MCU] 2.3 CPU of AT89S52