Exception in thread "main" java.lang.NoClassDefFoundError: NotePad2
这个错误是什么意思?
我程序是个记事本程序,代码:
public class NotePad2
{ public static void main(String []args)
{
CreateNotePad np=new CreateNotePad();
np.setVisible(true);
}
};
这个错误是什么意思?
我程序是个记事本程序,代码:
public class NotePad2
{ public static void main(String []args)
{
CreateNotePad np=new CreateNotePad();
np.setVisible(true);
}
};
如果是前者,把mainclass设置正确,如果是后者,改改文件名字