My Oracle Support Banner

"gradle thirdpartygen" And "gradle docgen" Commands in API Toolkit Fail With Error "Failure: Build Failed with an Exception" (Doc ID 2747589.1)

Last updated on JANUARY 28, 2021

Applies to:

Oracle Banking Digital Experience - Version to [Release 20]
Information in this document applies to any platform.


When attempting to run the following commands in the API toolkit
-gradle thirdpartygen
-gradle docgen,
the following error occurs.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':docgen'.
> Process 'command '<JAVA_HOME>\bin\java.exe'' finished with non-zero exit value 1

* Try:
Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':docgen'.
  at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$3.accept(
  at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$3.accept(
  at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(
  at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(
  at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(
  at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(

Please follow the steps mentioned in the below link Banking Digital Experience Extensibility API Toolkit Guide.pdf




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.