user1466361
user1466361

Reputation: 61

javadoc: error - No public or protected classes found to document

Am facing an issue while running javadoc in child project. There are multiple projects and they are interdependent.

While running javadoc on childproject, I recieve below error where other project classes(dependent classes for child project) are not found in classpath. javadoc: error - No public or protected classes found to document.

How can I run javadoc on childproject? Looked into javadoc options which did not help much

Thanks

Upvotes: 6

Views: 2232

Answers (1)

ap-osd
ap-osd

Reputation: 2834

Some javadoc options may be required.

-sourcepath to specify different child projects/directories

-subpackages to specify a base package and all its subpackages recursively

See javadoc options for details.

See javadoc examples for various possible cases.

Upvotes: 1

Related Questions