网站介绍:文章浏览阅读1.5k次,点赞4次,收藏6次。它报的信息翻译一下就是:创建定义在类路径资源【spring-context.xml】中的名字为sqlSessionFactory的bean出错,在设置属性值的时候出错,嵌套异常是java.lang.NoClassDefFoundError:org/springframework/jdbc/datasource/TransactionAwareDataSourceProxy。解决:maven项目下,在pom.xml文件中引入spring-jdbc的坐标,如下所示。原因:没有引入spring-jdbc的依赖。_error creating bean with name 'org.mybatis.spring.sqlsessionfactorybean#0' d
- 链接地址:https://blog.csdn.net/m0_62491934/article/details/126710635#comments_23154638
- 链接标题:Spring框架整合Mybatis步骤(连接Navicat数据库) +运行项目报出Error creating bean with name ‘sqlSessionFactory‘的错误_error creating bean with name 'org.mybatis.spring.-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:4804
- 网站标签:error creating bean with name 'org.mybatis.spring.sqlsessionfactorybean#0' d