exercism / exercism/support

FAILURE: Build failed with an exception

Open
#87 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
3
Forks
3
PR merge metrics
No merged PRs in 30d

Description

I have followed the installation steps to install java jdk and gradle and everything went on fine until I ran the gradle test command in terminal. In addition to the expected:
Task :test FAILED
GreeterTest > testThatGreeterReturnsTheCorrectGreeting FAILED
java.lang.AssertionError at GreeterTest.java:9
1 test completed, 1 failed
FAILURE: Build failed with an exception.

I am getting the following error which has stopped me from proceeding to the next steps.
**FAILURE: Build failed with an exception.**
* What went wrong:
Execution failed for task ':test'.
> There were failing tests. See the report at: file:///home/dan/exercism/java/hello-world/build/reports/tests/test/index.html

* 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

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 22s
3 actionable tasks: 1 executed, 2 up-to-date

I have Gradle 6.1 and have tried to upgrade to Gradle 7.0 using the gradle wrapper --gradle-version 7.0 command without success.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.