1.查看jar包的文件列表
jar tf xxx.jar
2.提取想要修改的文件
jar xf xxx.jar com/demo/testMapper.xml
3.查看目录下没有没有你提取的文件
cd com/demo
4.使用vim修改文件
vi com/demo/testMapper.xml
5.替换原jar包中文件即可
jar uf xxx.jar com/demo/testMapper.xml
1.查看jar包的文件列表
jar tf xxx.jar
2.提取想要修改的文件
jar xf xxx.jar com/demo/testMapper.xml
3.查看目录下没有没有你提取的文件
cd com/demo
4.使用vim修改文件
vi com/demo/testMapper.xml
5.替换原jar包中文件即可
jar uf xxx.jar com/demo/testMapper.xml

被折叠的 条评论
为什么被折叠?