java.lang.NoSuchMethodError: org.springframework.test.context.MergedContextConfiguration.getContextCustomizers()Ljava/util/Set;

GitHub | jasoncarreira | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    java.lang.NoSuchMethodError: org.springframework.test.context.MergedContextConfiguration.getContextCustomizers

    GitHub | 9 months ago | jasoncarreira
    java.lang.NoSuchMethodError: org.springframework.test.context.MergedContextConfiguration.getContextCustomizers()Ljava/util/Set;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.springframework.test.context.MergedContextConfiguration.getContextCustomizers()Ljava/util/Set;

      at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.createModifiedConfig()
    2. org.springframework.boot
      SpringBootTestContextBootstrapper.processMergedContextConfiguration
      1. org.springframework.boot.test.context.SpringBootTestContextBootstrapper.createModifiedConfig(SpringBootTestContextBootstrapper.java:270)
      2. org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:118)
      2 frames
    3. Spring TestContext
      AbstractTestContextBootstrapper.buildTestContext
      1. org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:376)
      2. org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:307)
      3. org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:110)
      3 frames
    4. org.springframework.boot
      SpringBootTestContextBootstrapper.buildTestContext
      1. org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:73)
      1 frame
    5. Spring TestContext
      TestContextManager.<init>
      1. org.springframework.test.context.TestContextManager.<init>(TestContextManager.java:120)
      2. org.springframework.test.context.TestContextManager.<init>(TestContextManager.java:105)
      2 frames