这段代码在editplus中没有问题,运行正常,但在eclipse中报错:java.lang.ClassNotFoundException: com.microsoft.jdbc.sqlserver.SQLServerDriver
代码如下:String driver = "com.microsoft.jdbc.sqlserver.SQLServerDriver";
        String url="jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=school";
        String user="sa";
        String password="";
        try
        {
Connection con;
              Class.forName(driver);
 con=DriverManager.getConnection(url,user,password);
            System.out.println("数据库连接成功!");
        }
        catch (Exception e) 
        {
            e.printStackTrace();

        }
好象是classpath设置不正确,请问在eclipse中如何设置classpath?