解決Application context not configured for this file 問題

今天跑ssm時,applicationContext.xml文件中產生了Application context not configured foe this file 這個警告,百度之後得以解決,是因爲該文件沒有配置到項目中(直接從其他文件夾拷過來的) 解決方法: file->project structure,點擊加號,選中要添加的配置文件,點擊確定,就解決了。
相關文章
相關標籤/搜索