springmvc+mybatis运行时报错

org.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'org... org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.mybatis.spring.mapper.MapperScannerConfigurer#0' defined in file [D:\Tomcat 6.0\tomcat-6.0.37\webapps\SSMTest\WEB-INF\classes\com\guoyan\config\spring\applicationContext-commons.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in file [D:\Tomcat 6.0\tomcat-6.0.37\webapps\SSMTest\WEB-INF\classes\com\guoyan\config\spring\applicationContext-commons.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in file [D:\Tomcat 6.0\tomcat-6.0.37\webapps\SSMTest\WEB-INF\classes\com\guoyan\config\spring\applicationContext-commons.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'driverClassName' threw exception; nested exception is java.lang.IllegalStateException: Could not load JDBC driver class [jdbc.driver.OracleDriver]
展开
 我来答
js_611
2013-06-29
知道答主
回答量:24
采纳率:0%
帮助的人:20.6万
展开全部
请看重点:Could not load JDBC driver class [jdbc.driver.OracleDriver,没有添加oracle驱动jar包
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式