为什么会有如下错误呢?
java.lang.NoClassDefFoundError: Test
Exception in thread "main"
Process completed.
是不是JDK有问题?比如下面的程序:
public class Test {
public static void main(String[] args){
for(int i=1;i <=9;i++){
for(int x=1;x <=i;x++){
System.out.print(x+"*"+i+"="+(i*x)+"\t");
}
System.out.println();
}
}
}