jonatan-ivanov / teahouse

Sample applications to demonstrate Observability concepts
224 stars 72 forks source link

build issue using Java 21[error at \teahouse-main\build.gradle' line: 49] #11

Closed rahulchavan888 closed 6 months ago

rahulchavan888 commented 6 months ago

Getting below Error While Build

PS C:\Users\Lenovo\Documents\teahouse-main> ./gradlew bootRun --scan

FAILURE: Build failed with an exception.

BUILD FAILED in 14s

Publishing a build scan to scans.gradle.com requires accepting the Gradle Terms of Service defined at https://gradle.com/terms-of-service. Do you accept these terms? [yes, no] yes

Gradle Terms of Service accepted.

Publishing build scan... https://gradle.com/s/laevgvpgh3n6y

Below is the Java version capture used by Gradle:

./gradlew --version image

I tried redownloading dependencies but not working

./gradlew build --refresh-dependencies ./gradlew --refresh-dependencies

jonatan-ivanov commented 6 months ago

The project must be in a git repo. I suggest you to proper clone the project, not download the zip and extract.