I'm using intelliJ and Gradle to design a program using JavaFX. The majority of the program is completed, but now I want to add the ability to export some data into an xlsx file, so I added Apache poi and poi-ooxml to my dependencies and required modules. Just adding these two things seems to prevent my program from running. I get the error: Process 'command 'C:/Program Files/Java/jdk-19/bin/java.exe'' finished with non-zero exit value 1. I don't have any code utilizing them yet.
#Apache POI non-zero exit
11 messages · Page 1 of 1 (latest)
⌛ This post has been reserved for your question.
Hey @lilac tusk! Please use
/closeor theClose Postbutton above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
is there a stacktrace ?
Nothing that specifically references any of my code, but here it is.
Reubuild yielded the same error ?
You could try to invalidate the caches in IntelliJ: File -> Invalidate Caches
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
Ok
I found the solution in the two answers given by jewelsea and Joseph Sang here: