租房买房买生意上iU91
查看: 565|回复: 0
打印 上一主题 下一主题

[电脑] Can any one help me?

[复制链接]   [推荐给好友]
跳转到指定楼层
楼主
发表于 2002-1-26 10:41 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
I am preparing my personal web sites with Java. My application runs well at IBM WebSphere Test Environment within VisualAge for Java, and without any problem in loading from and storing into Oracle 8i database. But when I deployed my code into Tomcat3.3, the DBManager can not find a driver in "Class.forName(oracle.jdbc.driver.OracleDriver)". The Exception caught at "Class.forName(oracle.jdbc.driver.OracleDriver)" is ClassNotFoundException. So I run a test on the database connection in JBuilder, which should use the same environment as Tomcat in CLASSPATH, my code also works in loading from and storing into Oracle 8i database. So What is wrong with my environment setting? Can any one help me?

I have set the Oracle driver into my classpath in in "Control Panel/System/Advanced/Environrmental Variables" in Windows 2000 as "D:\Oracle\Ora81\jdbc\lib\classes111.zip".  

Thanks
         
您需要登录后才可以回帖 登录 | 免费注册

本版积分规则

Copyright © 1999 - 2024 by Sinoquebec Media Inc. All Rights Reserved 未经许可不得摘抄  |  GMT-5, 2024-12-22 05:53 , Processed in 0.038383 second(s), 34 queries .