How to Solve EasyExcel3.0.5 Version Error

Because the SpringBoot version is incompatible with the cglib version of EasyExcel;


# error 1
Caused by: java.lang.IllegalArgumentException
 at org.objectweb.asm.ClassVisitor.<init>(Unknown Source)
 # Error 2 java.lang.ExceptionInInitializerError

Because the cglib package on which asm depends is inconsistent with the springboot version, an error is reported


For example, easyexcel version is 3.0.5, and cglib needs to be configured to 3.3.0


Read More: