Hobbyist
Hobbyist

Reputation: 16212

JavaDoc errors, publishing my first documentation

I'm attempting to "compile" my java documentation for my project and receiving the following error(and about twenty more of it's type.)

error: reference not found
 * {@link TCPServer} instance, The UDP Server is not configured for stand-alone

I then tried to link it by going through it's packaging, like so:

error: reference not found
 * {@link net.framework.net.tcp.TCPServer} instance, The UDP Server is not configured for stand-alone

After reading the JavaDoc guides again, I don't see what I'm missing, anyone have an idea?

Upvotes: 0

Views: 77

Answers (2)

Eran
Eran

Reputation: 394146

Add

add import net.framework.net.tcp.TCPServer;

to the class that has that @link.

Upvotes: 1

Bohuslav Burghardt
Bohuslav Burghardt

Reputation: 34846

When you use the {@link } JavaDoc construct you must either have an import statement for the class you are linking to or use a fully qualified class name (class name including the package).

Upvotes: 1

Related Questions