原来的错误导出:FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'newmod'.
> 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 39m 42s
BUILD FAILED
Task completed in 39 minutes and 46 seconds
翻译后的
执行Gradle任务:eclipse
构建信息:MCreator 2021.3.51610,forge-1.16.5,64位,4043 MB,Windows 10,JVM 16.0.2,JAVA_HOME:C:\Program Files\Pylo\MCreator\jdk
失败:生成失败,出现异常。
*出了什么问题:
配置根项目“newmod”时出现问题。
>无法解析配置“:_compileJava_1”的所有依赖项。
>无法计算任务“:compileJava”属性“javaCompiler”的值。
>无法下载符合以下要求的工具链:{languageVersion=8,vendor=any,implementation=vendor specific}
>无法获取资源'https://api.adoptopenjdk.net/v3/binary/latest/8/ga/windows/x64/jdk/hotspot/normal/adoptopenjdk'.
>读取超时
*试试看:
使用--stacktrace选项运行以获取堆栈跟踪。使用--info或--debug选项运行以获得更多日志输出。运行--扫描以获得完整的洞察力。
*获得更多帮助https://help.gradle.org
在39m 42s中构建失败
构建失败
任务在39分46秒内完成
* What went wrong:
A problem occurred configuring root project 'newmod'.
> 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 39m 42s
BUILD FAILED
Task completed in 39 minutes and 46 seconds
翻译后的
执行Gradle任务:eclipse
构建信息:MCreator 2021.3.51610,forge-1.16.5,64位,4043 MB,Windows 10,JVM 16.0.2,JAVA_HOME:C:\Program Files\Pylo\MCreator\jdk
失败:生成失败,出现异常。
*出了什么问题:
配置根项目“newmod”时出现问题。
>无法解析配置“:_compileJava_1”的所有依赖项。
>无法计算任务“:compileJava”属性“javaCompiler”的值。
>无法下载符合以下要求的工具链:{languageVersion=8,vendor=any,implementation=vendor specific}
>无法获取资源'https://api.adoptopenjdk.net/v3/binary/latest/8/ga/windows/x64/jdk/hotspot/normal/adoptopenjdk'.
>读取超时
*试试看:
使用--stacktrace选项运行以获取堆栈跟踪。使用--info或--debug选项运行以获得更多日志输出。运行--扫描以获得完整的洞察力。
*获得更多帮助https://help.gradle.org
在39m 42s中构建失败
构建失败
任务在39分46秒内完成
http://www.isilent.me/1384.html
根据此教程配置国内镜像后再试
根据此教程配置国内镜像后再试
你需要魔法