64位tomcat无法连接数据库
在64位win7上配置了jdk-6u23-windows-x64和apache-tomcat-6.0.30-windows-x64,tomcat为免安装版,可以启动,但是报数据库连接错误:
Exception happen in DBConn:java.lang.ClassNotFoundException:oracle.jdbc.driver.OracleDriver
在使用32位tomcat时也常见这个错误,那是因为tomcat\common\lib 目录下缺失class12.jar。可我下载的apache-tomcat-6.0.30-windows-x64免安装包中并没有common\lib 目录,这个问题该怎么解决了?