Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

genIntellijRuns task results in errors


Recommended Posts

I'm new to Java and modding, so I went to the tutorial on https://mcforge.readthedocs.io/en/1.16.x/gettingstarted/ but I already am facing issues. I followed the guide up until step 6, at which point when I run "gradlew enIntellijRuns" I get an error which reads "Could not find net.minecraftforge:forge:1.16.5-36.2.0_mapped_official_1.16.5.". Do any knowledgable modders know what this means and how to fix it?
Log: https://pastebin.com/vt9VgLPz
Please let me know if I need to supply any additional information such as further logs or screenshots.

Link to comment
Share on other sites

You have a broken jar file somewhere in your gradle cache. The easiest fix is to delete .gradle/caches/forge_gradle in your user home folder (this will require all Minecraft projects to be reimported in your IDE).

To avoid this in the future, do not interrupt any ForgeGradle tasks.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.