建议你把oracle安装目录下的jdbc目录下的jar、zip放入classpath,你如果用jbuilder开发的话,加入Libraries...中,其放置路径为:
../oracle/ora81/jdbc/lib/*.zip或*.jar;
另外还有可能使oracle的datasource server未启动引起!

解决方案 »

  1.   

    try{
        conn=DriverManager.getConnection("jdbc:oracle:thin:@10.150.6.168:1521:hotmail","scott","tiger");
    stmt=conn.createStatement();    // Select the ENAME column from the EMP table
        ResultSet rset = stmt.executeQuery ("select ENAME from EMP");
        
        }catch(SQLException e){
            System.err.print("dddddd"+ e.getMessage());
            }看看打印出来的是什么?
    检查一下你的classpath!
      

  2.   

    问题结束!!原来同事的oracle有问题,,散分