No qualifying bean found for dependency [com.znkj.util.PageUtil]: expected at least 1 bean which qualifies as autowire candidate.
Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
错误原因:Autowired无法创建实例化
解决方法:把Autowired改成private(把实例化改成私有化)
来源:CSDN
作者:qq_25591259
链接:https://blog.csdn.net/qq_25591259/article/details/104302682