解决idea application context not configured for this file
application context not configured for this file
·
遇到问题的时候先不要慌😇,先翻译,翻译过来就是:未为此文件配置应用程序上下文
那么咱们既然知道了问题所在,那么就去file-Project Structure查看
问题解决。
还有一种野方法,一般在自主项目中不要使用,因为启动类一般不要去动(忠告)
可以在主启动类上添加@ImportResource(value="classpath:∗∗∗.xml")\color{#FF0000}{可以在主启动类上添加@ImportResource(value = {"classpath:***.xml"}) }可以在主启动类上添加@ImportResource(value="classpath:∗∗∗.xml")
更多推荐
所有评论(0)