讲师回答 / 翔仔
同学好,关键看这句Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.apache.tomcat.jdbc.pool.DataSource' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@o...
2018-03-07
讲师回答 / 翔仔
同学跟教程最终代码比对下哈,最终的是没有问题的,并且请确保ide的maven配置正确,实在不行可以到maven repository下清空所有jar然后重试一下,代码在https://gitee.com/xiangze/areadisplayhttps://gitee.com/xiangze/demo
2018-03-07
讲师回答 / 翔仔
同学好,请确保你的package设置正确,com.ztes.demo.dao.AreaDao,我看截图里是com.imooc.demo.dao.AreaDao...
2018-03-06