java.lang.IllegalStateException: Failed to load ApplicationContext. Here is my stack trace: java.lang.IllegalStateException: Failed to load ApplicationContext

  1. 0

    Spring failed to load ApplicationContext while running TestNG test case - AutoProxyRegistrar.class cannot be opened

    Stack Overflow | 3 months ago | Alexander Pavlov
    java.lang.IllegalStateException: Failed to load ApplicationContext. Here is my stack trace: java.lang.IllegalStateException: Failed to load ApplicationContext
  2. 0

    Mocking class with @PostConstruct causes initialization failure

    Stack Overflow | 11 months ago | user657592
    java.lang.IllegalStateException: Failed to load ApplicationContext
  3. 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JUnit + Spring profiles: could not load JDBC driver class

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

    Failed to load ApplicationContext (JUnit Spring)

    Stack Overflow | 8 months ago | user2872782
    java.lang.IllegalStateException: Failed to load ApplicationContext

  1. tvrmsmith 2 times, last 3 months ago
  2. Shadd518 2 times, last 3 months ago
  3. Nikolay Rybak 7 times, last 4 months ago
  4. qavid 1 times, last 5 months ago
  5. tzrlk 1 times, last 5 months ago
2 more registered users
12 unregistered visitors
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. Here is my stack trace: 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
    TransactionalTestExecutionListener.getTransactionManager
    1. org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:83)
    2. org.springframework.test.context.transaction.TestContextTransactionUtils.retrieveTransactionManager(TestContextTransactionUtils.java:163)
    3. org.springframework.test.context.transaction.TransactionalTestExecutionListener.getTransactionManager(TransactionalTestExecutionListener.java:361)
    3 frames