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

异常报错 求大神

java.lang.IllegalStateException: Failed to load ApplicationContext


Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'areaDao' defined in file [E:\workspace\demo\target\classes\com\imooc\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/imooc/demo/config/dao/SessionFactoryConfiguration.class]: Invocation of init method failed; nested exception is java.io.FileNotFoundException: class path resource [classpath*:/mapper/**.xml] cannot be opened because it does not exist


是怎么回事啊 求大神解答

正在回答

1 回答

告诉大家咋解决的,因为到最后也没解决,把config下面的2个类啊 还有配置文件啊 全用源码的复制过来,就完事了,还是有地方写错了,只是你找不到,最后/微笑。

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

举报

0/150
提交
取消

异常报错 求大神

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