try {
Class c = Class.forName( "aaaaa ");
c.newInstance();
} catch (Exception e) {
if (e instanceof ClassNotFoundException)
System.out.println( "ClassNotFoundException ");
else if (e instanceof RuntimeException)
System.out.println( "RuntimeException ");
}
------解决方案--------------------
绝对是ClassNotFoundException
你真的执行过吗
------解决方案--------------------
度过ClassNotFoundException