java.lang.IllegalStateException: Failed to load ApplicationContext

Stack Overflow | Jaz Brok | 5 months ago
  1. 0

    Spring. Import Groovy Bean definition inside xml

    Stack Overflow | 5 months ago | Jaz Brok
    java.lang.IllegalStateException: Failed to load ApplicationContext
  2. 0

    [DATAES-211] Upgrade to Elasticsearch 2.0 - Spring JIRA

    spring.io | 6 months ago
    java.lang.IllegalStateException: Failed to load ApplicationContext
  3. 0

    run spring test in netbeans ide

    Stack Overflow | 2 months ago | Valeriy Voronkov
    java.lang.IllegalStateException: Failed to load ApplicationContext
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Mocking class with @PostConstruct causes initialization failure

    Stack Overflow | 11 months ago | user657592
    java.lang.IllegalStateException: Failed to load ApplicationContext
  6. 0

    [Oak origin/1.4] Apache Jackrabbit Oak matrix - Build # 781 - Still Failing

    jackrabbit-oak-dev | 9 months ago | Apache Jenkins Server
    java.lang.IllegalStateException: Failed to load ApplicationContext
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalStateException

    Failed to load ApplicationContext

    at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext()
  2. org.springframework.test
    DefaultCacheAwareContextLoaderDelegate.loadContext
    1. org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124)
    1 frame
  3. Spring TestContext
    TestContextManager.prepareTestInstance
    1. org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:83)
    2. org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:117)
    3. org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83)
    4. org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:228)
    4 frames
  4. org.spockframework.spring
    SpringInterceptor.interceptSetupMethod
    1. org.spockframework.spring.SpringTestContextManager.prepareTestInstance(SpringTestContextManager.java:49)
    2. org.spockframework.spring.SpringInterceptor.interceptSetupMethod(SpringInterceptor.java:42)
    2 frames
  5. Spock Framework - Core Module
    Sputnik.run
    1. org.spockframework.runtime.extension.AbstractMethodInterceptor.intercept(AbstractMethodInterceptor.java:28)
    2. org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:87)
    3. org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:471)
    4. org.spockframework.runtime.BaseSpecRunner.runSetup(BaseSpecRunner.java:375)
    5. org.spockframework.runtime.BaseSpecRunner.runSetup(BaseSpecRunner.java:370)
    6. org.spockframework.runtime.BaseSpecRunner.doRunIteration(BaseSpecRunner.java:323)
    7. org.spockframework.runtime.BaseSpecRunner$6.invoke(BaseSpecRunner.java:309)
    8. org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:480)
    9. org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:463)
    10. org.spockframework.runtime.BaseSpecRunner.runIteration(BaseSpecRunner.java:288)
    11. org.spockframework.runtime.BaseSpecRunner.initializeAndRunIteration(BaseSpecRunner.java:278)
    12. org.spockframework.runtime.BaseSpecRunner.runSimpleFeature(BaseSpecRunner.java:269)
    13. org.spockframework.runtime.BaseSpecRunner.doRunFeature(BaseSpecRunner.java:263)
    14. org.spockframework.runtime.BaseSpecRunner$5.invoke(BaseSpecRunner.java:246)
    15. org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:480)
    16. org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:463)
    17. org.spockframework.runtime.BaseSpecRunner.runFeature(BaseSpecRunner.java:238)
    18. org.spockframework.runtime.BaseSpecRunner.runFeatures(BaseSpecRunner.java:188)
    19. org.spockframework.runtime.BaseSpecRunner.doRunSpec(BaseSpecRunner.java:98)
    20. org.spockframework.runtime.BaseSpecRunner$1.invoke(BaseSpecRunner.java:84)
    21. org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:480)
    22. org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:463)
    23. org.spockframework.runtime.BaseSpecRunner.runSpec(BaseSpecRunner.java:76)
    24. org.spockframework.runtime.BaseSpecRunner.run(BaseSpecRunner.java:67)
    25. org.spockframework.runtime.Sputnik.run(Sputnik.java:63)
    25 frames
  6. JUnit
    JUnitCore.run
    1. org.junit.runner.JUnitCore.run(JUnitCore.java:137)
    1 frame
  7. IntelliJ junit4 module
    JUnit4IdeaTestRunner.startRunnerWithArgs
    1. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:119)
    2. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:42)
    2 frames
  8. IDEA
    JUnitStarter.main
    1. com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234)
    2. com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74)
    2 frames
  9. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  10. IDEA
    AppMain.main
    1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
    1 frame