你用mysql的jar包连access?这里改一下 应该是报错了 你没打印错误try{ Class.forName("com.mysql.jdbc.Driver"); } catch(ClassNotFoundException e){e.printStackTrace();}