异常信息:
Could not autowire field: private com.rhyton.pems.core.service.IEnergyPlanService com.rhyton.pems.web.controller.EnergyProcurementPlanController.energyPlanService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'energyPlanServiceImp': Injection of autowired dependencies failed;
解决方案:
检查你的Controller层、service层、Dao层中 各个类应有的注解是否忘记写了。
本文介绍了当遇到Spring框架中依赖注入失败的情况时,如何排查并解决这一问题。主要聚焦于检查Controller层、service层、Dao层中各类注解是否正确使用。

2238

被折叠的 条评论
为什么被折叠?



