当前位置:网站首页>Three lines of code to simply modify the project code of the jar package
Three lines of code to simply modify the project code of the jar package
2022-06-25 13:06:00 【Maynor senior】
demand
Because the company does not give permission to the project , Unable to get the project directly , Now it needs to be modified jar A picture of the package , Directly in jar Package and modify will report an error
The process
ERROR 2022-06-24 16:27:02.398 [Tomcat-startStop-1] org.apache.catalina.core.ContainerBase[line:181] - A child container failed during start
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat].StandardHost[localhost].TomcatEmbeddedContext[]]
If you modify it directly jar The package code will report an error Let you recompile , And I just need to replace the picture

result
Finally, find a way online Just unzip and package it in the virtual machine .
decompression jar package
mkdir aaa
unzip classes.jar -d ./aaa
12
modify aaa After the contents in the folder , Get into aaa Folder
Strike again jar package
jar -cfM0 new-classes.jar ./*
边栏推荐
- 剑指offer 第 3 天字符串(简单)
- Used in time filter (EL table)
- 始终保持疫情防控不放松 营造安全稳定的社会环境
- 字节跳动Dev Better技术沙龙来啦!参与活动赢好礼,限时免费报名中!
- 一篇文章讲清楚MySQL的聚簇/联合/覆盖索引、回表、索引下推
- Conway's law can not be flexibly applied as an architect?
- Wechat full-text search technology optimization
- J2EE从入门到入土01.MySQL安装
- JVM参数解释
- 5 kinds of viewer for browser
猜你喜欢

剑指 Offer II 029. 排序的循环链表
![[转]以终为始,详细分析高考志愿该怎么填](/img/77/715454c8203d722e246ed70e1fe0d8.png)
[转]以终为始,详细分析高考志愿该怎么填

MySQL adds, modifies, and deletes table fields, field data types, and lengths (with various actual case statements)

mysql导入导出数据到excel表日期出现问题

KDD 2022 | graphmae: self supervised mask map self encoder

golang键盘输入语句scanln scanf代码示例

Koa frame

KDD 2022 | GraphMAE:自监督掩码图自编码器

Parse JSON format data and save it to entity class

Maui的学习之路(二)--设置
随机推荐
Oral English - continuous reading
golang键盘输入语句scanln scanf代码示例
Meichuang was selected into the list of "2022 CCIA top 50 Chinese network security competitiveness"
[machine learning] model and cost function
Back test of quantitative trading - example of futures CTA strategy (tqzfuturerenkoscalpingstrategy)
Optimization of lazyagg query rewriting in parsing data warehouse
Summer Ending
始终保持疫情防控不放松 营造安全稳定的社会环境
Sword finger offer day 3 string (simple)
It is extraordinary to make a move, which is very Oracle!
20220620 面试复盘
LeetCode链表题解技巧归纳总结
New Gospel of drug design: Tencent, together with China University of science and technology and Zhejiang University, developed an adaptive graph learning method to predict molecular interactions and
leetcode - 384. Scramble array
出手即不凡,这很 Oracle!
Native JS --- infinite scrolling
Qt显示FFmpeg解码的图片
剑指 Offer 第 1 天栈与队列(简单)
时间过滤器(el-table)中使用
解析數倉lazyagg查詢重寫優化