wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes javadoc: No public or protected classes found to document. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "javadoc: No public or protected classes found to document." Watch "javadoc: No public or protected classes found to document." New topic
Author

javadoc: No public or protected classes found to document.

Robin Clark
Ranch Hand

Joined: Dec 17, 2003
Posts: 81
I have 5 classes in my directory which is named "vss". Each of these classes is in the vss directory.
When I run the command:

All of the classes are documented except for one. When I try to run javadoc on just that class:


I get the error message:

This is the second time I've had this problem in the past two days, so I guess I need to figure it out instead of re-organizing my classes like I did the last time!
Here is the first portion of Session.java:
Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
It's been a while since I ran javadoc by hand. More recently I have an ant build script that automates many such tasks for me. I suspect that you don't need the .java extension. Try removing it and see if that fixes your problem.
Layne


Java API Documentation
The Java Tutorial
 
 
subject: javadoc: No public or protected classes found to document.
 
Similar Threads
javadoc
Java Docs
JAVA DOC
NX: javadoc problem with assert keyword
Running unit test cases automatically with Ant