问题截图如下:
解决方法:IDE以某种方式导入了不同于Spring框架的ApplicationContext。将导入更正为org.springframework.context.ApplicationContext可解决此问题。
解决Could not autowire. No beans of 'ApplicationContext' type found.的问题
最新推荐文章于 2023-07-02 13:11:55 发布
问题截图如下:
解决方法:IDE以某种方式导入了不同于Spring框架的ApplicationContext。将导入更正为org.springframework.context.ApplicationContext可解决此问题。