`

解决 Cannot load JDBC driver class 'oracle.jdbc.driver.OracleDriver'

 
阅读更多

在tomcat的context.xml中配置了jndi数据源,启动时报错:

Could not get JDBC Connection; nested exception is org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot load JDBC driver class 'oracle.jdbc.driver.OracleDriver'

因为:

tomcat5.x jar包放在\tomcat5.x\common\lib下 
tomcat6.x jar包放在\tomcat6.x\lib下
myeclipse放在MyEclipse10\Common\plugins\com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806\tomcat\lib
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics