Workspace Setup Failed

Started by DiamondLIVE_YT on

Topic category: Help with MCreator software

Last seen on 00:41, 4. Aug 2024
Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Workspace Setup Failed

I recently reinstalled MCreator on my new computer to work on one of my mods and whenever i try to run the project, I always get a popup saying Workspace Setup Failed and i was wondering if anyone could help me fix it. I put the error log here too.

Executing Gradle task: eclipse
Build info: MCreator 2024.2.29712, forge-1.20.1, 64-bit, 16081 MB, Windows 10, JVM 21.0.3, JAVA_HOME: D:\MCreator\jdk, started on: 2024-07-29-08:16:39

> Task :downloadMCMeta UP-TO-DATE
> Task :extractNatives UP-TO-DATE
> Task :downloadMcpConfig
> Task :extractSrg UP-TO-DATE
> Task :createSrgToMcp UP-TO-DATE
> Task :downloadAssets UP-TO-DATE
> Task :makeSrcDirs
> Task :prepareRuns
> Task :eclipseClasspath FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':eclipseClasspath'.
> Could not resolve all dependencies for configuration ':compileClasspath'.
> Failed to calculate the value of task ':compileJava' property 'javaCompiler'.
> Cannot find a Java installation on your machine matching this tasks requirements: {languageVersion=17, vendor=any, implementation=vendor-specific} for WINDOWS on x86_64.
> No matching toolchain could be found in the locally installed toolchains or the configured toolchain download repositories. Some toolchain resolvers had provisioning failures: foojay (Unable to download toolchain matching the requirements ({languageVersion=17, vendor=any, implementation=vendor-specific}) from 'https://api.foojay.io/disco/v3.0/ids/ecc5be1e7943d4ad79b234060140a18b/r…', due to: Could not get resource 'https://api.foojay.io/disco/v3.0/ids/ecc5be1e7943d4ad79b234060140a18b/r…'.).
* Try:
> Learn more about toolchain auto-detection at https://docs.gradle.org/8.8/userguide/toolchains.html#sec:auto_detection.
> Learn more about toolchain repositories at https://docs.gradle.org/8.8/userguide/toolchains.html#sub:download_repo….
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
BUILD FAILED in 41s
8 actionable tasks: 3 executed, 5 up-to-date

BUILD FAILED
Task completed in 41 seconds

Last seen on 18:12, 17. Aug 2024
Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It says in the error that…
Tue, 07/30/2024 - 21:42

It says in the error that there is no matching tool chains. I have no idea what that means or how to fix it, but the error message links a document or 2 at the end.