According to the online explanation, this indicates that the POI read Excel (97-2003) When the header file is damaged, the normal way: can open the words, save a bit can, really do not directly create a content of the same
I environment: Eclipse deployment to tomcat,eclipse under the source code is correct, as long as the release to Tomcat is the file corruption, previously good
Reason: Using Maven, and in order to configure profile, using Resource,resource he would pass the file under its configured path and replace it with the value of the variable defined by the POM.
Excel does not have the problem of substitution variables, but should be checked, it is expected to open the process of problems, specifically did not delve into, the internet said so.
Scenario: Set the Excel directory or Excel file to not let him check, the configuration of the Pom, as follows:
This will exclude the path of Excel, or a later comment can also
Java.io.IOException:Invalid header signature; Read 0XE011BDBFEFBDBFEF, expected 0xe11ab1a1e011cfd0