Problem that are when building a project using the CUBA Platform

We are contacting you with a problem that arose when building a project using the CUBA Platform. An error occurs when executing the task “:rsfp-global:compileJava”:

Task :rsfp-global:compile Java FAILED
FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ‘:rsfp-global:compileJava’.
    Process ‘command ‘C:\Program Files\Java\jdk1.8.0_181\bin\java.exe’’ finished with non-zero exit value 1

My current configuration:

  • Java 1.8 temurin
  • Gradle 4.10.3
  • CUBA 6.10.12

The problem occurs when executing any Gradle script (clean, build, builddir and just running through the CUBA plugin).

Please help us figure out how to fix the error and provide recommendations.