Failed to load ApplicationContext from Unit Test: FileNotFound

前端 未结 9 1205
夕颜
夕颜 2021-02-01 14:44

I am creating a Maven Spring project, which includes MVC, Data and Security. My Spring applicationContext-*.xml files are located at \\src\\main\\resources\\spring\\

My

9条回答
  •  耶瑟儿~
    2021-02-01 15:00

    I faced the same error and realized that pom.xml had java 1.7 and STS compiler pointed to Java 1.8. Upon changing compiler to 1.7 and rebuild fixed the issue.

    PS: This answer is not related to actual question posted but applies to similar error for app Context not loading

提交回复
热议问题