Skip to content

Instantly share code, notes, and snippets.

@aalmiray
Created November 8, 2020 17:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aalmiray/a4a364edb86c2c5ad8b2f8bcac4dc9e7 to your computer and use it in GitHub Desktop.
Save aalmiray/a4a364edb86c2c5ad8b2f8bcac4dc9e7 to your computer and use it in GitHub Desktop.
Javadoc error (JPMS)
y$ gm clean build
Using gradle at '/Users/aalmiray/dev/github/bootstrapfx/gradlew' to run buildFile '/Users/aalmiray/dev/github/bootstrapfx/build.gradle':
[versioning] WARNING - the working copy has unstaged or uncommitted changes.
> Task :clean UP-TO-DATE
> Task :bootstrapfx-core:clean
> Task :sampler:clean UP-TO-DATE
> Task :sampler-jpro:clean UP-TO-DATE
> Task :assemble UP-TO-DATE
> Task :check UP-TO-DATE
> Task :build UP-TO-DATE
> Task :bootstrapfx-core:generateModuleInfo
> Task :bootstrapfx-core:addDependenciesModuleInfo
> Task :bootstrapfx-core:compileJava
> Task :bootstrapfx-core:prepareWebjars
> Task :bootstrapfx-core:compileSass
> Task :bootstrapfx-core:processResources
> Task :bootstrapfx-core:classes
> Task :bootstrapfx-core:minpom
> Task :bootstrapfx-core:jar
> Task :bootstrapfx-core:addMainModuleInfo
writing to /Users/aalmiray/dev/github/bootstrapfx/subprojects/bootstrapfx-core/build/moditect/org.kordamp.bootstrapfx.core/module-info.java
> Task :bootstrapfx-core:javadoc
javadoc: error - The code being documented uses modules but the packages defined in https://docs.oracle.com/javase/8/docs/api/ are in the unnamed module.
javadoc: error - The code being documented uses packages in the unnamed module, but the packages defined in https://static.javadoc.io/org.openjfx/javafx-base/11/ are in named modules.
javadoc: error - The code being documented uses packages in the unnamed module, but the packages defined in https://static.javadoc.io/org.openjfx/javafx-graphics/11/ are in named modules.
javadoc: error - The code being documented uses packages in the unnamed module, but the packages defined in https://static.javadoc.io/org.openjfx/javafx-controls/11/ are in named modules.
4 errors
> Task :bootstrapfx-core:javadoc FAILED
--------------------------------------------------------------------
CONF EXEC
--------------------------------------------------------------------
: .................................. SUCCESS [ 0.109 s] [ 0.000 s]
:bootstrapfx-core .................. FAILURE [ 0.026 s] [ 10.624 s]
:sampler ........................... PARTIAL [ 0.067 s] [ 0.000 s]
:sampler-jpro ...................... PARTIAL [ 0.097 s] [ 0.001 s]
--------------------------------------------------------------------
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':bootstrapfx-core:javadoc'.
> Javadoc generation failed. Generated Javadoc options file (useful for troubleshooting): '/Users/aalmiray/dev/github/bootstrapfx/subprojects/bootstrapfx-core/build/tmp/javadoc/javadoc.options'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment