jira-importer commented on issue #852:
URL: 
https://github.com/apache/maven-javadoc-plugin/issues/852#issuecomment-2957357602

   **[Robert 
Scholte](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=rfscholte)**
 commented
   
   > error: package org.w3c.dom is not visible
   > (package org.w3c.dom is declared in module java.xml, but module module2 
does not read it)
   
   This is the real issue and can be solved by adding `--add-modules java.xml` 
(to the options file).
   The maven-javadoc-plugin cannot know that module is required too, so it is 
up to the developer to add this to the configuration of the plugin.
   
   He must do that with
   
   ```xml
   <additionalOptions>
     <option>--add-modules</option>
     <option>java.xml</option>
   </additionalOptions>
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to