My Oracle Support Banner

Unable to Execute "gradle docgen" Command in APItoolkit on Sample Hello World json (Doc ID 2728097.1)

Last updated on NOVEMBER 11, 2020

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 executing gradle docgen command in APIToolkit following error occurs.

ERROR
---------------------------------
> Task :docgen FAILED

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.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:187)
        at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:263)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:185)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:166)
        
        
        
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

On the gradle docgen command the error occurs.

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
References


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