我有.class(点类文件)文件,在该文件中有一些要更改的软件包名称,但是对于这些.class文件,我没有相关的源代码,任何人都可以告诉我,我将如何更改软件包名称这些点类文件中,是否有可能
There are multiple options
Use ant task jarJar ( some details ) and then achieve the repackaging.
Disclaimer : I have not tried these ever. I would rather leave .class
files alone. And if you are facing a conflict, it is better to think of some modularity solutions or maven modules or maven shaded jars.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.