I'm utilizing an Excel sheet to provide input and output while working in Eclipse with Selenium. I suddenly had a corrupted file while working and received an error message similar to this.
org.apache.poi.POIXMLException: org.apache.poi.openxml4j.exceptions.InvalidFormatException: Package should contain a content type part [M1.13]
When I accessed my file folder, which had a size of 0 KB, and when I tried to open it, I received an alert "Because the file formatter file extension is invalid, Excel will not open this file. Check to see if the file is intact and that its file extensions correspond to its file type." I tried everything that the Excel support team suggested. Yet it isn't. I'm not able to buy a tool for this. Can somebody assist me with this?