HelloWorldを表示させたいのですが以下のような表示が出てビルドが失敗します
一応一通りエラー内容をググってみたのですが、よくわからず
以下のサイトを参考にしました
参考サイト
リンク
https://wanna-be-buddha.com/contents/it/programming/java/252/
以下エラー内容
- Where:
Settings file 'C:\workspace\GradleApp\settings.gradle'
- What went wrong:
Could not compile settings file 'C:\workspace\GradleApp\settings.gradle'.
startup failed:
General error during semantic analysis: Unsupported class file major version 61
以下settings.gradleの中身
/*
- This file was generated by the Gradle 'init' task.
- The settings file is used to specify which projects to include in your build.
- Detailed information about configuring a multi-project build in Gradle can be found
- in the user manual at https://docs.gradle.org/6.9.1/userguide/multi_project_builds.html
*/
rootProject.name = 'GradleApp'
include('app')
回答1件
あなたの回答
tips
プレビュー