I have the following code to fill in the Excel file, with information that I get from the Internet using Jsoup.
package knvbj;
import java.io.FileInputStrea
I was getting a similar error when the file used to create the output stream already had data. If you are looking to append data to the file, you must indicate so in the file output stream object:
FileOutputStream out = new FileOutputStream("/Users/muratcanpinar/Downloads/KNVBJ/build/classes/knvbj/ClubInformation.xlsx", true);
When you do this, wb.write(out) should work as expected.