I get this message
Note: The Javadoc for this element could neither be found in the attached source nor the attached Javadoc.
for some of my methods, in this case for java.util.Scanner.nextInt()
.
import java.util.Scanner;
public class TestClass {
public static void main(String[] args) {
Scanner keyboard = new Scanner(System.in);
System.out.print("Enter the number:");
int x = keyboard.nextInt();
System.out.print("The number you entered is " + x);
}
}
I attached the Documentation Zip file rt.jar
and it is working actually for other methods! Also I'm using jdk-8-apidocs.zip
as documentation resource. Can anybody tell what the problem is?