Gradle build failure

Welcome to Gradle 5.2.1!

Here are the highlights of this release:

  • Define sets of dependencies that work together with Java Platform plugin
  • New C++ plugins with dependency management built-in
  • New C++ project types for gradle init
  • Service injection into plugins and project extensions

For more details see
Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details

Task :qmoney:compileJava
/home/crio-user/workspace/robsteneha-ME_QMONEY/qmoney/src/main/java/com/crio/warmup/stock/ error: package com.crio.warmup.stock.log does not exist
import com.crio.warmup.stock.log.UncaughtExceptionHandler;
up/stock/ error: cannot find symbol
Thread.setDefaultUncaughtExceptionHandler(new UncaughtExceptionHandler());
symbol: class UncaughtExceptionHandler
location: class PortfolioManagerApplication
2 errors

Task :qmoney:compileJava FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:qmoney:compileJava’.

Compilation failed; see the compiler error output for details.

  • 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

Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use ‘–warning-mode all’ to show the individual deprecation warnings.

1 actionable task: 1 executed

This the error i’m getting while executing the commands in task 1.
even in setup task 2 the gradle command wasn’t working.
I have tried resetting my workspace and also done checkstyle formatting.
Any idea why this is happening?

Try this will help

Thanks it helped for the setup 2 task.