周晓舸
2019-02-24 15:45
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'app': Unsatisfied dependency expressed through field 'userDoMapper'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userDoMapper' defined in file [D:\IntelliJ IDEA 2017.3.5\workspace2\miaosha\target\classes\com\miaosha\dao\UserDoMapper.class]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Property 'sqlSessionFactory' or 'sqlSessionTemplate' are required
问题解决 了吗?我也遇到同样问题.怎么回事?
我和你一样的情况,应该是datasource配置的不对,重新配置一下就解决了的
SpringBoot构建电商基础秒杀项目
49064 学习 · 954 问题
相似问题
回答 3
回答 2
回答 2
回答 1
回答 1