yilmaznaslan / berlin-auslaenderbehorde-termin-bot

A simple way to automate booking an appointment at Berlin Ausländerbehörde using java and selenium framework
https://yilmaznaslan.github.io/berlin-auslaenderbehorde-termin-bot/
GNU Affero General Public License v3.0
156 stars 58 forks source link

FAILURE: Build failed with an exception. #108

Open gustavmogull opened 9 months ago

gustavmogull commented 9 months ago

Attempting to run on an M1 Mac, I receive this error message on ./gradlew run. Full output:

`FAILURE: Build failed with an exception.

BUILD FAILED in 343ms`

akhilkumar332 commented 9 months ago

@gustavmogull can you post screenshot of your Java and Gradle version?

gustavmogull commented 9 months ago

Gradle version:

❯ gradle --version

Welcome to Gradle 8.6!

Here are the highlights of this release:

For more details see https://docs.gradle.org/8.6/release-notes.html


Gradle 8.6

Build time: 2024-02-02 16:47:16 UTC Revision: d55c486870a0dc6f6278f53d21381396d0741c6e

Kotlin: 1.9.20 Groovy: 3.0.17 Ant: Apache Ant(TM) version 1.10.13 compiled on January 4 2023 JVM: 21.0.2 (Homebrew 21.0.2) OS: Mac OS X 12.6.7 aarch64

Java version:

❯ java --version openjdk 21.0.2 2024-01-16 OpenJDK Runtime Environment Homebrew (build 21.0.2) OpenJDK 64-Bit Server VM Homebrew (build 21.0.2, mixed mode, sharing)

gustavmogull commented 9 months ago

Never mind, I fixed it now: the solution was downgrading java from v21 to v17. Thanks!