problem with downloading file in gradle

Started by amirparsab90 on

Topic category: Help with MCreator software

Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
problem with downloading file in gradle

the error

Executing Gradle task: eclipse
Build info: MCreator 2021.2.36710, forge-1.16.5, 64-bit, 6027 MB, Windows 10, JVM 11.0.11, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'messimod'.
> Could not resolve all dependencies for configuration ':_compileJava_1'.
 > Failed to calculate the value of task ':compileJava' property 'javaCompiler'.
  > Unable to download toolchain matching these requirements: {languageVersion=8, vendor=any, implementation=vendor-specific}
  > Could not get resource 'https://api.adoptopenjdk.net/v3/binary/latest/8/ga/windows/x64/jdk/hotspot/normal/adoptopenjdk'.
  > Read timed out
* Try:
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 6m 11s
BUILD FAILED
Task completed in 6 minutes and 13 seconds