为了账号安全,请及时绑定邮箱和手机立即绑定

你好老师,我run demo报错,请教一下是哪里不对吗?

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.

2021-06-12 22:31:25.669 ERROR 13476 --- [  restartedMain] o.s.boot.SpringApplication               : Application run failed


org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'helloController': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userService': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userMapper' defined in file [D:\02 codes\idea_learn\target\classes\com\imooc\demo\mapper\UserMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory'; nested exception is 

................................................................

正在回答

1 回答

最好是能截屏,然后把出现问题详细描述一下。

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

你好老师,我run demo报错,请教一下是哪里不对吗?

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信