Because the SpringBoot
version is incompatible with the cglib
version of EasyExcel;
Phenomenon:
# error 1
Caused by: java.lang.IllegalArgumentException
at org.objectweb.asm.ClassVisitor.<init>(Unknown Source)
# Error 2
com.alibaba.excel.exception.ExcelAnalysisException: java.lang.ExceptionInInitializerError
at com.alibaba.excel.analysis.ExcelAnalyserImpl.analysis(ExcelAnalyserImpl.java:134)
Because the cglib package on which asm
depends is inconsistent with the springboot version, an error is reported
Solution:
For example, easyexcel version is 3.0.5
, and cglib needs to be configured to 3.3.0
<dependency>
<groupId>cglib</groupId>
<artifactId>cglib</artifactId>
<version>3.3.0</version>
</dependency>
Read More:
- How to Solve Java Runtime (class file version 53.0)ERROR
- How to Solve JD-GUI Start Error (Mac ARM Version)
- How to Solve Linux connecte to the old version of SQL Server Error
- Ali easyexcel error: org.apache.poi.ss.usermodel.font.setbold (z) V
- Java will convert Excel to list set or JSON, export excel file to local, excel import and export, easyexcel tool class
- Spring Security Upgrade to Version 5.5.7, 5.6.4 or Above to Startup Error (Version incompatibility)
- How to Solve Spring integrate Seata startup error
- How to Solve Swagger error: IllegalStateException
- IDEA-Error java error release version 5 not supported (How To Fix)
- How to Solve Log4j 2.5 upgrade to 2.15 error
- How to Solve Mybatisplusinterceptor error
- How to Solve idea com.baomidou Error
- How to Solve Error: Maven ‘parent.relativePath‘ of POM…
- How to Solve JUnit Debugging initializationerror ERROR
- How to Solve Errors encountered by maven
- How to Solve Hbase JAVA import Package Error
- How to Solve Nosuchmethoderror Error
- How to Solve JDBC connection error in spring MVC integration
- How to Solve Springboot use thymeleaf template error
- How to Solve Flynk Task Java verifyerror 209 error