javadoc generation failed
Rishab2019 opened this issue · comments
sorry I have encountered errors on Javadoc generation stage while building with both ./nom_build build and ./gradlew build commands.I have used oracle jdk 11.0.8 with latest release of the nomulus.These are the errors:
Task :javadoc
/home/rishab/Downloads/nomulus/core/build/generated/sources/custom/java/main/google/registry/xjc/dsig/ObjectFactory.java:282: error: array type not allowed here
* Create an instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >}}
^
/home/rishab/Downloads/nomulus/core/build/generated/sources/custom/java/main/google/registry/xjc/dsig/ObjectFactory.java:300: error: array type not allowed here
* Create an instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >}}
^
/home/rishab/Downloads/nomulus/core/build/generated/sources/custom/java/main/google/registry/xjc/dsig/ObjectFactory.java:309: error: array type not allowed here
* Create an instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >}}
^
/home/rishab/Downloads/nomulus/core/build/generated/sources/custom/java/main/google/registry/xjc/dsig/ObjectFactory.java:318: error: array type not allowed here
* Create an instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >}}
^
/home/rishab/Downloads/nomulus/core/build/generated/sources/custom/java/main/google/registry/xjc/dsig/XjcDsigSPKIData.java:73: error: array type not allowed here
* {@link JAXBElement }{@code <}{@link byte[]}{@code >}
^
/home/rishab/Downloads/nomulus/core/build/generated/sources/custom/java/main/google/registry/xjc/dsig/XjcDsigX509Data.java:85: error: array type not allowed here
* {@link JAXBElement }{@code <}{@link byte[]}{@code >}
^
/home/rishab/Downloads/nomulus/core/build/generated/sources/custom/java/main/google/registry/xjc/dsig/XjcDsigX509Data.java:88: error: array type not allowed here
* {@link JAXBElement }{@code <}{@link byte[]}{@code >}
^
/home/rishab/Downloads/nomulus/core/build/generated/sources/custom/java/main/google/registry/xjc/dsig/XjcDsigX509Data.java:90: error: array type not allowed here
* {@link JAXBElement }{@code <}{@link byte[]}{@code >}
^
8 errors
Task :javadoc FAILED
Task :reportUploader
ReportUploader: destination= ''
ReportUploader: no destination given, skipping...
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':javadoc'.
Javadoc generation failed. Generated Javadoc options file (useful for troubleshooting): '/home/rishab/Downloads/nomulus/build/tmp/javadoc/javadoc.options'
-
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 https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.6/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 2m 11s
33 actionable tasks: 8 executed, 25 up-to-date
Please help.
resolved with apt install openjdk-11-jdk-headless