有人能帮忙找出问题吗?The supplied phased action failed with an exception. A problem occurred configuring root project 'GrassyMod'. Build file 'C:\Users\user-pc\Desktop\GrassyMod\build.gradle' line: 2 An exception occurred applying plugin request [id: 'fabric-loom', version: '0.11-SNAPSHOT'] Failed to apply plugin 'fabric-loom'. You are using an outdated version of Java (11). Java 17 or higher is required. The JAVA_HOME environment variable is currently set to (C:\Program Files\Java\jdk-17.0.2).
发布于 2022-03-21 01:20:44
您的Java在错误report_的末尾提到,主设置与实际使用的Java版本号不一致。请确认您的系统环境设置和Java设置是否正确,并根据需要使用java17。You are using an outdated version of Java (11). Java 17 or higher is required.。
https://stackoverflow.com/questions/71535931
复制相似问题