idea application context not configured for this file的问题的解决

简介: idea application context not configured for this file的问题的解决

spring配置文件中时常会出现这个提示,翻译过来大概意思就是没有配置该文件到项目中

于是进入到file-Project Structure中查看

可以很明显的看到下面有个感叹号,大概意思是下面的文件没有匹配

知道原因就很好解决问题了,只需要加到项目中去就可以了

再看XML配置文件,就没有问题了!!!


目录
相关文章
|
2月前
|
Java
springboot启动报错:“Error starting ApplicationContext. To display the conditions report re-run your appl
springboot启动报错:“Error starting ApplicationContext. To display the conditions report re-run your appl
68 0
|
6月前
|
应用服务中间件
idea 调试报错 Illegal access: this web application instance has been stopped already.
idea 调试报错 Illegal access: this web application instance has been stopped already.
82 0
|
7月前
|
Cloud Native Java Go
解决 Spring Boot 和 Gradle Java 版本兼容性问题:A problem occurred configuring root project ‘demo1‘. > Could n
解决 Spring Boot 和 Gradle Java 版本兼容性问题:A problem occurred configuring root project ‘demo1‘. > Could n
418 0
|
10月前
|
Java
SpringBoot导入第三方jar方法打包报错Failed to load ApplicationContext Failed to determine a suitable driver cla
这是第一篇博客,很早想写了,只不过每次解决问题后都觉得人家写的蛮好的,自己无须再写了,不过昨天打包时遇到的这个问题,自己找半天解决了,看很多博客也是许久才解决,不说了我的方法如下:
98 0
|
11月前
Unable to determine application id: com.android.tools.idea.run.ApkProvisionException: ERROR: APK pat
Unable to determine application id: com.android.tools.idea.run.ApkProvisionException: ERROR: APK pat
276 0
idea报错URI is not registered (Settings | Languages & Frameworks | Schemas and DTDs)
idea报错URI is not registered (Settings | Languages & Frameworks | Schemas and DTDs)
idea报错URI is not registered (Settings | Languages & Frameworks | Schemas and DTDs)
|
Java
IDEA 启动服务报错:Command line is too long. Shorten the command line via JAR manifest or via a classpath file and rerun 解决方案
IDEA 启动服务报错:Command line is too long. Shorten the command line via JAR manifest or via a classpath file and rerun 解决方案
1475 1
|
Shell Windows
Mac使用IntelliJ IDEA报错“Unable to save settings: Failed to save settings. Please restart IntelliJ IDEA”
Mac使用IntelliJ IDEA报错“Unable to save settings: Failed to save settings. Please restart IntelliJ IDEA”
Mac使用IntelliJ IDEA报错“Unable to save settings: Failed to save settings. Please restart IntelliJ IDEA”
|
Java 数据库
IDEA不能运行 Add Configuration/Press the + button to create a new Configuration which cannot be loaded
IDEA不能运行 Add Configuration/Press the + button to create a new Configuration which cannot be loaded
IDEA不能运行 Add Configuration/Press the + button to create a new Configuration which cannot be loaded