Do POI operations, use Ali's dependencies to process Excel, and report an error Convert excel format exception. You can try specifying the
‘excelType‘ yourself
There are a lot of Baidu, some say the suffix problem, some say the file flow problem. After reading the source code for a long time, they can’t solve it. Finally, the file type is not a valid OOXML office file.
Finally, after thinking about it for a long time, a flash of inspiration found that the company defaults that the file will be encrypted when the file is sent internally and externally... There is a lock on the file.
Can't recognize it, then find it to decrypt, pass...
silly question