Field userDao in com.service.impl.UlevelServiceImpl required a bean of type com.dao.userDao ' that could not be found.
Consider defining a bean of type 'dao.userDao' in your configuration.
网上好多人都是说缺少mysql的jar。或者是缺少yml配置文件。再者就是没有在dao加注释@Mapper(或者在启动类上加mapperscan)。
但是本人是由于spring-boot-starter-parent jar包版本号问题所导致的。大家可以自行参考。