经过各种排查,试了一下降低版本
开始用的4.1 poi版本,后来降级为3.17版本终于可以了
compile group: 'org.apache.poi', name: 'poi', version: '3.17' // https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml compile group: 'org.apache.poi', name: 'poi-ooxml', version: '3.17'
经过各种排查,试了一下降低版本
开始用的4.1 poi版本,后来降级为3.17版本终于可以了
compile group: 'org.apache.poi', name: 'poi', version: '3.17' // https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml compile group: 'org.apache.poi', name: 'poi-ooxml', version: '3.17'