Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Checkstyle warning: Missing package-info.java file

807580Apr 15 2010 — edited Apr 15 2010
Hi,

I'm getting a checkstyle warning for a simple class which looks like:
package tools.interprocess;

/**
 * Class for testing RMI.
 * @author spinth
 *
 */
public final class RMITest {
    /**
     * Private constructor.
     */
    private RMITest() {
    }

    /**
     * Main method.
     * @param args User arguments
     */
    public static void main(final String[] args) {
    }
}
The warning message says: Missing package-info.java file

I really couldn't figure out what this means and how I can fix it. Do I have to add something to the source tree?
I'm using Eclipse for development and Eclipse-cs as my checkstyle plug-in.

Thanks.

Edited by: spinth on Apr 15, 2010 12:37 PM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 13 2010
Added on Apr 15 2010
6 comments
12,481 views