context.xml中配置是 <Resourse name="jdbc/oracleds" auth="Container" type="javax.sql.DataSource" maxActive="100" maxIdle="30" maxWait="10000" username="zhoucong" password="zhoucong" driveClassName="oracle.jdbc.OracleDriver" url="jdbc:oracle:thin:@192.168.1.2:2030:ora9"/> 程序中是: Context cx = new InitialContext(); DataSource ds = (DataSource)cx.lookup("java:comp/env/jdbc/oracleds"); QueryRunner qr = new QueryRunner(ds); qr.update(sql, params); 出现的问题是: javax.naming.NameNotFoundException: Name oracleds is not bound in this Context 求解决,谢谢