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 20.1.0.0.0 to 20.1.0.0.0 [Release 20]
Information in this document applies to any platform.

Symptoms

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

ERROR
-----------------------
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(ExecuteActionsTaskExecuter.java:166)
  at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$3.accept(ExecuteActionsTaskExecuter.java:163)
  at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:191)
  at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:156)
  at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:62)
  at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:108)


STEPS
-------------------------------
Please follow the steps mentioned in the below link
https://docs.oracle.com/cd/F30659_01/tech_docs/Oracle Banking Digital Experience Extensibility API Toolkit Guide.pdf

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution


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