#Error: java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors

3 messages · Page 1 of 1 (latest)

bold lily
#

I'm very new to modding and this is the first mod that I've made. When running it in IntelliJ, everything works fine. I wanted to try to run it through the Minecraft Launcher and this is the error I got.
I'm not quite sure what I'm supposed to do to fix this issue.

sleek gullBOT
#

Exporting your mod as a JAR: run in a terminal from the same directory as the mod project directory ./gradlew build on GNU/Linux and Mac, or gradlew build on Windows. Alternatively, in IntelliJ IDEA, open the Gradle tab on the right and execute build under tasks. The JARs should appear in ${projectDir}/build/libs. Use the one with the shortest name outside development.