SQLException异常没有捕获,把你的
ResultSet.next(); //指针移动
  String str = ResultSet.getString("..."); //赋值语句
代码写到
try{
ResultSet.next(); //指针移动
  String str = ResultSet.getString("..."); //赋值语句
}catch(SQLException e){}

解决方案 »

  1.   

    你得捕获异常啊!try{
    //Class.forName("com.codestudio.sql.PoolMan").newInstance();
    Class.forName("org.gjt.mm.mysql.Driver");
    }catch(ClassNotFoundException e){
    System.out.println(e.toString());
    }catch(java.lang.InstantiationException e){
    }catch(java.lang.IllegalAccessException e){}try{
       //jdbc语句
    }catch(SQLException e){}
      

  2.   

    up
    也可以function() throws ClassNotFoundException,SQLException{}
      

  3.   

    赫赫,这个错误非常明显啊。如果在JBuilder里边坐,你是一开始就通不过的。