APPLICATION FAILED TO START
Description:
Field cozjYxxDao in cr.crc.tky.service.Impl.CozjYxxServiceImpl required a bean of type 'cr.crc.dao.CozjYxxDao' that could not be found.
The injection point has the following annotations: - @org.springframework.beans.factory.annotation.Autowired(required=true)
Action:
Consider defining a bean of type 'cr.crc.dao.CozjYxxDao' in your configuration.
Disconnected from the target VM, address: '127.0.0.1:62433', transport: 'socket'
Process finished with exit code 1 有这个异常基本就是,注解有问题,可以将dao层的@Repository直接替换成@Mapper 替换一下,如果jar没有问题,可以尝试进行清理缓存。
更多推荐
Consider defining a bean of type
发布评论