您的位置: 首页 > 文章 > 解决——Cannot access org.springframework.context.ConfigurableApplicationContext 解决——Cannot access org.springframework.context.ConfigurableApplicationContext 分类: 文章 • 2022-10-31 11:52:14 解决——Cannot access org.springframework.context.ConfigurableApplicationContext 首先检查一些右侧maven列表中是否有报错的Module,如果没有的话,需要点上面的加号 上面这个图我说明一下,我报错的时候gateway这个Module是没有的,因此通过下面的方式添加上 在检查了pom文件中检查了Spring-Cloud版本等信息无误后,选择这个刚添加的模块然后刷新一下即可解决问题