慕移动9267284
2019-07-11 16:51
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'areaDao' defined in file [/Users/111/Desktop/DCTdemo/target/classes/com/dctjava/demo/dao/AreaDao.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/dctjava/demo/config/dao/SessionFactoryConfiguration.class]: Invocation of init method failed; nested exception is java.io.FileNotFoundException: class path resource [mybatis-conifg.xml] cannot be opened because it does not exist
请问解决了吗我也是这个报错
这个问题解决了吗?怎么结局的?
这还不明显吗,说不能够创建areaDao,因为在sqlSessionFactory下找不到资源路径
SpringBoot+MyBatis搭建迷你小程序
91499 学习 · 621 问题
相似问题