Could not resolve all dependencies for configuration ':classpath'.

Started by S21815 on

Topic category: Troubleshooting, bugs, and solutions

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Could not resolve all dependencies for configuration ':classpath'.

Execution failed for task ':compileJava'.
> Could not resolve all files for configuration ':compileClasspath'.
> Could not find net.minecraftforge:forge:1.20.1-47.3.0_mapped_official_1.20.1.


I've tried every single option in the Gradle setup and build errors support, but nothing works and I honestly have no clue of what it is. All I have is a workspace for MCreator 2024.4 with a single creative tab. I've tried all the options, reinstalled MCreator through the launcher, uninstalled it, deleted all folders related to it and then reinstalled it, but nothing works.

If anyone knows what it could possibly be at this point it'd be appreciated.

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The error codes that it…
Tue, 06/17/2025 - 18:42

The error codes that it gives at the very bottom is this, I'm not very sure if it can help to know what it is, but I've tried again all the solutions given in the page and it still does not work... NeoForge does work, but I'd really like to be able to make the Forge option work.

Execution failed for task ':compileJava'.
> Could not resolve all files for configuration ':compileClasspath'.
> Could not find net.minecraftforge:forge:1.20.1-47.3.0_mapped_official_1.20.1.
Searched in the following locations:
- file:/C:/Users/(name of user)/.mcreator/gradle/caches/forge_gradle/bundeled_repo/net/minecraftforge/forge/1.20.1-47.3.0_mapped_official_1.20.1/forge-1.20.1-47.3.0_mapped_official_1.20.1.pom
- file:/C:/Users/(name of user)/.mcreator/gradle/caches/forge_gradle/bundeled_repo/net/minecraftforge/forge/1.20.1-47.3.0_mapped_official_1.20.1/forge-1.20.1-47.3.0_mapped_official_1.20.1.jar
Required by:
project :

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The folder bundeled_repo…
Tue, 06/17/2025 - 18:47

The folder bundeled_repo does indeed not exist but even if I resinstall MCreator it doesn't appear again so I don't really know if it's just that it's not supposed to be there or if I'm missing something because nothing works at all.

This in most cases means…
Tue, 06/17/2025 - 19:34

This in most cases means something is preventing MCreator from either downloading or copying the files in said folder.

Make sure to follow all steps very precisely at https://mcreator.net/wiki/gradle-setup-errors

Outside those suggestions, we don't have other known fixes

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I have figured it out.   So…
Wed, 06/18/2025 - 17:45

I have figured it out.

 

So after creating a whole new user for the PC turns out you cannot have special characters like a with an accent, otherwise it won't work. The new user doesn't have them and it works just fine.