当前位置:网站首页>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包给删了,然后就迷茫了一点时间




成功生成
边栏推荐
- @Scheduled 和Quartz
- Layout of flutter
- CPU introduction
- 知物由学 | SO加固如何提升Android应用的安全性?
- How can we carry out NLP cross language knowledge transfer?
- JS to realize the right-click menu bar function
- 知物由学 | 从0到1搭建实时反外挂机制,多维度补充手游攻防力
- Know things by learning | build a real-time anti plug-in mechanism from 0 to 1 to supplement the offensive and defensive power of mobile games in multiple dimensions
- 年终总结模板
- Activate genuine win7 ultimate system with slmgr command
猜你喜欢
![[user article] examples of P4 consolidation practice guide disassemble resolve](/img/84/503fc057ce642038f693b38be69bc0.png)
[user article] examples of P4 consolidation practice guide disassemble resolve

How to resolve the public domain name to the intranet IP server -- quickly resolve the domain name and map the Internet access

知物由学 | 关联图分析在反作弊业务中的应用

Convolutional neural network -- Translation of yolov2 (yolo9000) papers

Fast parsing combined with Huatu document encryption software

知物由学 | 易盾自研文本实时聚类技术,一网打尽社交网络中的同类有害内容

WPF做登陆界面
![[MCU] 2.3 CPU of AT89S52](/img/4c/7b9d235bf8a919339d75a7ec95789f.png)
[MCU] 2.3 CPU of AT89S52

卷积神经网络——FPN(Feature Pyramid Networks)介绍

Know things by learning | build a real-time anti plug-in mechanism from 0 to 1 to supplement the offensive and defensive power of mobile games in multiple dimensions
随机推荐
vue使用keep-alive实现页面缓存
XStream reports an error abstractreflectionconverter$unknownfield exception when parsing XML
公网域名如何解析到内网IP服务器——快解析域名映射外网访问
MySQL creates a student table and queries grades
Knowledge dry goods: basic storage service novice Experience Camp
卷积神经网络之卷积计算过程个人理解
golang chan实现互斥锁
知物由学 | 关联图分析在反作弊业务中的应用
MySQL 中 You can‘t specify target table ‘表名‘ for update in FROM clause错误解决办法
How to solve the error of ora-00955 when Oracle modifies the primary key
js工具-cookie简单封装
备份表恢复表
Yyds dry inventory interview must brush top101: specified interval reversal in the linked list
JSP自定义标签(下)
TCP的连接状态标识 (SYN, FIN, ACK, PSH, RST, URG)
Understand │ what is cross domain? How to solve cross domain problems?
Getting started with shell programming base
Could not obtain transaction-synchronized Session for current thread
机器学习之评价指标(一)——回归评价指标
细数国产接口协作平台的六把武器!