easypoi导入报错org.apache.poi.ooxml.POIXMLDocumentPart

poi导入报错信息:

"detailMessage":"org/apache/poi/ooxml/POIXMLDocumentPart","cause":{"detailMessage":"org.apache.poi.ooxml.POIXMLDocumentPart","stackTrace":[],"suppressedExceptions":[]},"stackTrace":[],"suppressedExceptions":[]},"stackTrace":[],"suppressedExceptions":[]}

 

之前的pom配置:这个配置的springboot版本2.0.6导入是没问题的

但是项目用的2.1.2.RELEASE版本,出现了这样的问题


     com.hierway.ims.model
     employee-data-model

改为如下依赖即可解决这个问题

    
        
    
            cn.afterturn
            easypoi-base
            4.1.0
        
        
            cn.afterturn
            easypoi-web
            4.1.0
        
        
            cn.afterturn
            easypoi-annotation
            4.1.0
        

 

你可能感兴趣的:(excel)