求救weblogic 与oracle连接
xwlym 2002-03-12 04:58:31 我写个连接oracle数据库的代码
Properties props = new Properties();
props.put("user", "sront");
props.put("password", "sront");
Driver myDriver =(Driver)Class.forName
("weblogic.jdbc.oci.Driver").newInstance();
Connection conn =myDriver.connect("jdbc:weblogic:oracle", props);
编译没问题,可是执行的时候老是有错误
Missing license file for: WebLogic Server 6.1
java.sql.SQLException: Fail to load jDriver/Oracle due to license checking failed!
求各位帮帮我呀!!!