失信人可以出国工作吗:NoClassDefFoundError是什么错?
来源:百度文库 编辑:高校问答 时间:2024/10/06 12:54:24
import java.io.*;
public class subStrg {
public static void main(String args[]){
String str="this is a string type!";
String subStr=null;
try{
subStr=str.substring(0,3);
System.out.println("standard");
}catch(Exception e){
System.out.println(e);
}
}
}运行不了
public class subStrg {
public static void main(String args[]){
String str="this is a string type!";
String subStr=null;
try{
subStr=str.substring(0,3);
System.out.println("standard");
}catch(Exception e){
System.out.println(e);
}
}
}运行不了
8月8日 11:18 这句话的意思是说:
线程main产生一个异常,在java.lang包中定义的发现未定义类的错误。
应该检查你的JAVA环境设置,可能classpath不对或者没有?还有JAVA对大小写敏感,要小心哦!
java.lang.NoClassDefFoundError
NoClassDefFoundError是什么错?
编译通过了,但无法运行,java.lang.NoClassDefFoundError,求助
编译通过了,但无法运行,java.lang.NoClassDefFoundError,求助
求助!java.lang.NoClassDefFoundError日志报错,如何解决??
Exception in thread "main" java.lang.NoClassDefFoundError:Hello
Exception in thread "main" java.lang.NoClassDefFoundError
为什么Exception in thread "main" java.lang.NoClassDefFoundError???
Exception in thread "main" java.lang.NoClassDefFoundError
Exception in thread "main" java.lang.NoClassDefFoundError: HelloDate