JDK 11+ and Javadoc

前端 未结 7 1981
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:17

    As suggested in OpenJDK issue tracker this can be worked around with defining source on Javadoc plugin:

    
        org.apache.maven.plugins
        maven-javadoc-plugin
        
            8
        
    
    

提交回复
热议问题