linux增量更新

创建临时目录结构

mkdir -p BOOT-INF/classes/cn/tx/paper/controller

复制 class 文件到临时目录

cp PaperRestController.class BOOT-INF/classes/cn/tx/paper/controller/

删除 JAR 包中的旧文件

jar -d -f mainClient-1.0-SNAPSHOT.jar -C BOOT-INF/classes cn/tx/paper/controller/PaperRestController.class

更新 JAR 包

jar uvf mainClient-1.0-SNAPSHOT.jar -C BOOT-INF/classes cn/tx/paper/controller/PaperRestController.class

验证更新

jar tvf mainClient-1.0-SNAPSHOT.jar | grep PaperRestController.class

增量更新命令

相关推荐
运维行者_4 小时前
Applications Manager中的Redis监控
大数据·服务器·数据库·人工智能·网络协议
xingyuzhisuan7 小时前
网络 Token 常见故障原理,基础排查科普
运维·服务器·网络·php
APIshop7 小时前
Python 获取 1688 商品采集 API 接口 | 工厂货源自动化对接商品信息 | 无需选品
运维·python·自动化
wljy18 小时前
二、进制状态转换
linux·运维·服务器·c语言·c++
handler018 小时前
【MySQL】常用命令总结(库与表增删查改)
运维·数据库·mysql·命令·总结
week@eight8 小时前
Linux - Doris
linux·运维·数据库·mysql
平行云8 小时前
实时云渲染预启动技术解析:UE数字孪生应用的延迟优化机制(二)
linux·unity·ue5·webgl·实时云渲染·云桌面·像素流
看到代码头都是大的9 小时前
CentOS环境下手动升级openssl、openssh
linux·运维·centos
浮生若城9 小时前
Linux——Ext系列文件系统
linux·运维·服务器
ITyunwei09879 小时前
主流 SaaS 工单系统对比
运维·服务器·人工智能