当前位置:网站首页>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 ./*
边栏推荐
- And console Log say goodbye
- 始终保持疫情防控不放松 营造安全稳定的社会环境
- Meichuang was selected into the list of "2022 CCIA top 50 Chinese network security competitiveness"
- MySQL adds, modifies, and deletes table fields, field data types, and lengths (with various actual case statements)
- Sword finger offer day 2 linked list (simple)
- Qt显示FFmpeg解码的图片
- 词法陷阱(C)
- CUDA error: unspecified launch failure
- mysql导入导出数据到excel表日期出现问题
- 提高排名的 15 个基本 SEO 技巧
猜你喜欢

515. Find Largest Value in Each Tree Row

Sword finger offer II 032 Effective anagrams

一篇文章讲清楚MySQL的聚簇/联合/覆盖索引、回表、索引下推

爱可可AI前沿推介(6.25)

Configuring pytorch in win10 environment
![[AI helps scientific research] fool drawing of loss curve](/img/38/5cb2a3d33a609dab3874215d5f7b5b.png)
[AI helps scientific research] fool drawing of loss curve

Summer Ending

Elemtnui select control combined with tree control to realize user-defined search method
![[flask tutorial] flask development foundation and introduction](/img/c4/fb80fbe6b563e3b304d59623ef6465.jpg)
[flask tutorial] flask development foundation and introduction

Sword finger offer day 3 string (simple)
随机推荐
[machine learning] model and cost function
Possible problems when idea encounters errors occurred while compiling module (solved)
Common colors for drawing
Geospatial search - > R tree index
汇编标志位相关知识点(连)
Jupyter notebook theme font setting and automatic code completion
更新pip&下载jupyter lab
My first experience of go+ language -- a collection of notes on learning go+ design architecture
Update PIP & Download jupyter Lab
WIN10环境下配置pytorch
始终保持疫情防控不放松 营造安全稳定的社会环境
Oral English - continuous reading
Parse JSON format data and save it to entity class
[turn] starting from the end, analyze in detail how to fill in the college entrance examination volunteer
线上服务应急攻关方法论
重装cuda/cudnn/pytorch
CUDA error: unspecified launch failure
First acquaintance with CANopen
CUDA error: unspecified launch failure
Uncover gaussdb (for redis): comprehensive comparison of CODIS