解决方法一:点击Configure application context,选择Create new application context... 在需要的配置文件前打√,点击ok即可
Configure application context
Create new application context...
解决方法二:https://blog.csdn.net/qq_40437152/article/details/81347672