JDK 11+ and Javadoc

前端 未结 7 1986
Happy的楠姐
Happy的楠姐 2020-12-24 11:56
Exit code: 1 - javadoc: error - The code being documented uses packages in the unnamed module, but the packages defined in https://docs.oracle.com/en/java/javase/11/         


        
7条回答
  •  生来不讨喜
    2020-12-24 12:22

    I was facing the same issue. I was using Java 11.0.3 and org.apache.maven.plugins:maven-javadoc-plugin:2.10.4:jar. Updating the maven-javadoc-plugin version to 3.2.0 worked perfectly for me.

提交回复
热议问题