Spring source code deep analysis (2nd edition)-cglib and objenesis compilation error resolution

        In order to avoid third-party class conflicts, Spring repacks the latest cglib and objenesis. It does not provide this part of the code in the source code, but directly puts it in the jar package, which also leads After we pulled the code, a compilation error occurred. So in order to pass the compilation, we have to make up the missing jar.

The solution in the book is to introduce the missing jar package. A simpler method is recorded below:

Right-click to run cglibRepackJar and objenesisRepackJar

operation result 

Reference blog: https://blog.csdn.net/feng_23479046/article/details/100186099 

Guess you like

Origin blog.csdn.net/cs373616511/article/details/107981962