Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Jaz Brok
, 1 year ago
Failed to load ApplicationContext
via Google Groups by Buddha Shrestha, 1 year ago
Failed to load ApplicationContext
via Stack Overflow by Gregsen
, 2 years ago
Failed to load ApplicationContext
via GitHub by tdziurko
, 2 years ago
via Stack Overflow by neu242
, 1 year ago
java.lang.IllegalStateException: Failed to load ApplicationContext	at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124)	at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:83)	at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:117)	at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83)	at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:228)	at org.spockframework.spring.SpringTestContextManager.prepareTestInstance(SpringTestContextManager.java:49)	at org.spockframework.spring.SpringInterceptor.interceptSetupMethod(SpringInterceptor.java:42)	at org.spockframework.runtime.extension.AbstractMethodInterceptor.intercept(AbstractMethodInterceptor.java:28)	at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:87)	at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:471)	at org.spockframework.runtime.BaseSpecRunner.runSetup(BaseSpecRunner.java:375)	at org.spockframework.runtime.BaseSpecRunner.runSetup(BaseSpecRunner.java:370)	at org.spockframework.runtime.BaseSpecRunner.doRunIteration(BaseSpecRunner.java:323)	at org.spockframework.runtime.BaseSpecRunner$6.invoke(BaseSpecRunner.java:309)	at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:480)	at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:463)	at org.spockframework.runtime.BaseSpecRunner.runIteration(BaseSpecRunner.java:288)	at org.spockframework.runtime.BaseSpecRunner.initializeAndRunIteration(BaseSpecRunner.java:278)	at org.spockframework.runtime.BaseSpecRunner.runSimpleFeature(BaseSpecRunner.java:269)	at org.spockframework.runtime.BaseSpecRunner.doRunFeature(BaseSpecRunner.java:263)	at org.spockframework.runtime.BaseSpecRunner$5.invoke(BaseSpecRunner.java:246)	at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:480)	at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:463)	at org.spockframework.runtime.BaseSpecRunner.runFeature(BaseSpecRunner.java:238)	at org.spockframework.runtime.BaseSpecRunner.runFeatures(BaseSpecRunner.java:188)	at org.spockframework.runtime.BaseSpecRunner.doRunSpec(BaseSpecRunner.java:98)	at org.spockframework.runtime.BaseSpecRunner$1.invoke(BaseSpecRunner.java:84)	at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:480)	at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:463)	at org.spockframework.runtime.BaseSpecRunner.runSpec(BaseSpecRunner.java:76)	at org.spockframework.runtime.BaseSpecRunner.run(BaseSpecRunner.java:67)	at org.spockframework.runtime.Sputnik.run(Sputnik.java:63)	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)	at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:119)	at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:42)	at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234)	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)