org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [requesterElectronicInvoice.xml]; nested exception is java.lang.NoSuchMethodError: org.springframework.beans.factory.support.BeanDefinitionBuilder.genericBeanDefinition(Ljava/lang/String;)Lorg/springframework/beans/factory/support/BeanDefinitionBuilder;

spring.io | 5 months ago
  1. 0

    Unexpected exception parsing XML document from class path resource - Spring Forum

    spring.io | 5 months ago
    org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [requesterElectronicInvoice.xml]; nested exception is java.lang.NoSuchMethodError: org.springframework.beans.factory.support.BeanDefinitionBuilder.genericBeanDefinition(Ljava/lang/String;)Lorg/springframework/beans/factory/support/BeanDefinitionBuilder;
  2. 0

    Failed to load ApplicationContext for JUnit test of Spring

    soso.io | 1 year ago
    java.lang.IllegalStateException: Failed to load ApplicationContext
  3. 0

    Failed to load ApplicationContext for JUnit test of Spring

    codedmi.com | 8 months ago
    java.lang.IllegalStateException: Failed to load ApplicationContext
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Failed to load ApplicationContext for JUnit test of Spring - codeotel.com

    widecodes.com | 1 year ago
    java.lang.IllegalStateException: Failed to load ApplicationContext
  6. 0

    Context initialization failed after updating Spring Version

    Stack Overflow | 2 years ago | RIP_SunMicroSys
    org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from URL [file:/xyz/abc/.../WEB-INF/classes/META-INF/spring/integration/avengers-hulc-flow-context.xml]; nested exception is java.lang.NoSuchMethodError: org.springframework.beans.factory.support.BeanDefinitionBuilder.setFactoryBean(Ljava/lang/String;Ljava/lang/String;)Lorg/springframework/beans/factory/support/BeanDefinitionBuilder;

    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.NoSuchMethodError

      org.springframework.beans.factory.support.BeanDefinitionBuilder.genericBeanDefinition(Ljava/lang/String;)Lorg/springframework/beans/factory/support/BeanDefinitionBuilder;

      at org.springframework.batch.core.configuration.xml.CoreNamespaceUtils.checkForStepScope()
    2. Spring Batch Core
      JobParser.doParse
      1. org.springframework.batch.core.configuration.xml.CoreNamespaceUtils.checkForStepScope(CoreNamespaceUtils.java:68)
      2. org.springframework.batch.core.configuration.xml.CoreNamespaceUtils.autoregisterBeansForNamespace(CoreNamespaceUtils.java:51)
      3. org.springframework.batch.core.configuration.xml.JobParser.doParse(JobParser.java:61)
      3 frames
    3. Spring Beans
      XmlBeanFactory.<init>
      1. org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser.parseInternal(AbstractSingleBeanDefinitionParser.java:81)
      2. org.springframework.beans.factory.xml.AbstractBeanDefinitionParser.parse(AbstractBeanDefinitionParser.java:56)
      3. org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:69)
      4. org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1123)
      5. org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1113)
      6. org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:133)
      7. org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:90)
      8. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:468)
      9. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:363)
      10. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:313)
      11. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:290)
      12. org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(DefaultBeanDefinitionDocumentReader.java:185)
      13. org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseDefaultElement(DefaultBeanDefinitionDocumentReader.java:145)
      14. org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:130)
      15. org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:90)
      16. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:468)
      17. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:363)
      18. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:313)
      19. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:290)
      20. org.springframework.beans.factory.xml.XmlBeanFactory.<init>(XmlBeanFactory.java:73)
      21. org.springframework.beans.factory.xml.XmlBeanFactory.<init>(XmlBeanFactory.java:61)
      21 frames
    4. br.com.moip
      ApplicationContextFactoryJob.<clinit>
      1. br.com.moip.initializer.ApplicationContextFactoryJob.<init>(ApplicationContextFactoryJob.java:62)
      2. br.com.moip.initializer.ApplicationContextFactoryJob.<clinit>(ApplicationContextFactoryJob.java:56)
      2 frames