easyExcel使用的的坑点

Resolved exception caused by handler execution: com.alibaba.excel.exception.ExcelGenerateException: java.lang.NoClassDefFoundError: org/objectweb/asm/Type

解决去掉本地的cglib包,替换成


    org.ow2.asm
    asm-all
    5.2

 

 

java.lang.NoSuchMethodError: org.apache.poi.ss.usermodel.CellStyle.setVerticalAlignment(Lorg/apache/poi/ss/usermodel/VerticalAlignment;)V

升级本地poi包版本


    org.apache.poi
    poi
    3.17


    org.apache.poi
    poi-ooxml
    3.17

 

你可能感兴趣的:(easyExcel使用的的坑点)