Found class org.objectweb.asm.AnnotationVisitor, but interface was expected
asm短信包与其他依赖冲突,正常是出现了两个cglib依赖,但项目中没有引入,搜索发现easyexcel中引入了cglib,剔除easyexcel即可
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>easyexcel</artifactId>
<version>2.2.6</version>
<exclusions>
<!-- Exclude asm -->
<exclusion>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
</exclusion>
</exclusions>
</dependency>
或者使用高版本
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>easyexcel</artifactId>
<version>3.1.1</version>
</dependency>
版权声明:
标题:Found class org.objectweb.asm.AnnotationVisitor, but interface was expected
作者:名晨
链接:https://www.8090mc.cn/831.html
文章版权归作者所有,未经允许请勿转载。
标题:Found class org.objectweb.asm.AnnotationVisitor, but interface was expected
作者:名晨
链接:https://www.8090mc.cn/831.html
文章版权归作者所有,未经允许请勿转载。
THE END
0
二维码
打赏
海报
Found class org.objectweb.asm.AnnotationVisitor, but interface was expected
asm短信包与其他依赖冲突,正常是出现了两个cglib依赖,但项目中没有引入,搜索发现easyexcel中引入了cglib,剔除easyexcel即可
<dependency>
<……
共有 0 条评论