Skip to content

Taglet blocks javadoc generation with ClassNotFoundException #19

Open
@jeremydouglass

Description

When I run the Processing template targeting Java SE-1.8, the

[javadoc] Constructing Javadoc information...
[javadoc] Standard Doclet version 10.0.1
[javadoc] Building tree for all the packages and classes...
[javadoc] javadoc: error - Error - Exception java.lang.ClassNotFoundException thrown while trying to register Taglet ExampleTaglet...

In the Processing Library template there is a file

resources > code > ExampleTaglet.java

It begins with

import com.sun.tools.doclets.Taglet;

I think that in Java 8+ that would instead would be:

import java.jdk.Taglet;

...I'm not sure if there are other changes that would need to be made.

I am not familiar with doclets and Taglets -- looking over the code, it isn't clear to me why ExampleTaglet would actually be used -- although is referenced in Ant's build.xml:

<taglet name="ExampleTaglet" path="resources/code" />

Anyway, when it fails the documentation as a whole fails to build.

Assuming this is a problem for others, it seems like either ExampleTaglet should be fixed or it should be removed from build.xml to not block javadoc generation.

My solution was to remove the above line from build.xml.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions