Home > Software engineering >  java.io.FileNotFoundException Minecraft Mod
java.io.FileNotFoundException Minecraft Mod

Time:01-07

When I try to open the minecraft mod project in intelliJ IDEA I get this error when building the project.

Caused by: java.io.FileNotFoundException: C:\Users\tiago.gradle\caches\forge_gradle\minecraft_user_repo\net\minecraftforge\forge\1.19-41.1.0_mapped_official_1.19\forge-1.19-41.1.0_mapped_official_1.19.jar (A opera��o pedida n�o pode ser executada num ficheiro com uma sec��o aberta mapeada pelo utilizador)

I've tried deleting and installing everything again but the error continues.

CodePudding user response:

The error says that this file hasn't been found: forge-1.19-41.1.0_mapped_official_1.19.jar, so check if it's there :

C:\Users\tiago.gradle\caches\forge_gradle\minecraft_user_repo\net\minecraftforge\forge\1.19-41.1.0_mapped_official_1.19\forge-1.19-41.1.0_mapped_official_1.19.jar

if yes, then there is surely an error in your code, show the part of the code where you read the file

CodePudding user response:

I think you have a jdk version that won't work with your app, try getting jkd 17

https://hosthavoc.com/billing/knowledgebase/306/Setting-up-Forge-for-Java-17.html

CodePudding user response:

There's the print of IntelliJ. https://imgur.com/EM2RVuJ

  • Related