org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Only one ScheduledAnnotationBeanPostProcessor may exist within the context. Offending resource: class path resource [es/mma/architecture/spring/library.jobs-executor.xml]

Stack Overflow | codependent | 8 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

    Spring Boot - BeanDefinitionParsingException: Only one ScheduledAnnotationBeanPostProcessor may exist within the context

    Stack Overflow | 8 months ago | codependent
    org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Only one ScheduledAnnotationBeanPostProcessor may exist within the context. Offending resource: class path resource [es/mma/architecture/spring/library.jobs-executor.xml]
  2. 0

    Only one AsyncAnnotationBeanPostProcessor may exist within the context ? - Spring Forum

    spring.io | 1 year ago
    org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Only one AsyncAnnotationBeanPostProcessor may exist within the context. Offending resource: class path resource [app.xml]
  3. 0

    Spring's @Scheduled error : Only one AsyncAnnotationBeanPostProcessor may exist within the context

    Stack Overflow | 6 years ago | smallufo
    org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Only one AsyncAnnotationBeanPostProcessor may exist within the context. Offending resource: class path resource [app.xml]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Spring's @Scheduled error : Only one AsyncAnnotationBeanPostProcessor may exist within the context

    dolinked.com | 1 year ago
    org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Only one AsyncAnnotationBeanPostProcessor may exist within the context. Offending resource: class path resource [app.xml]

  1. Dunmer 2 times, last 3 weeks ago
8 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. org.springframework.beans.factory.parsing.BeanDefinitionParsingException

    Configuration problem: Only one ScheduledAnnotationBeanPostProcessor may exist within the context. Offending resource: class path resource [es/mma/architecture/spring/library.jobs-executor.xml]

    at org.springframework.beans.factory.parsing.FailFastProblemReporter.error()
  2. Spring Beans
    ReaderContext.error
    1. org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:70)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
    2. org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
    3. org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:72)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
    3 frames
  3. Spring Context
    AnnotationDrivenBeanDefinitionParser.parse
    1. org.springframework.scheduling.config.AnnotationDrivenBeanDefinitionParser.parse(AnnotationDrivenBeanDefinitionParser.java:90)[spring-context-4.2.5.RELEASE.jar:4.2.5.RELEASE]
    1 frame
  4. Spring Beans
    AbstractBeanDefinitionReader.loadBeanDefinitions
    1. org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:74)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
    2. org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1411)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
    3. org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1401)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
    4. org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:168)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
    5. org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:138)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
    6. org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:94)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
    7. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:508)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
    8. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:392)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
    9. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:336)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
    10. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:304)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
    11. org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:181)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
    12. org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:217)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
    13. org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:188)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
    13 frames
  5. Spring Context
    ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsFromImportedResources
    1. org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsFromImportedResources(ConfigurationClassBeanDefinitionReader.java:346)[spring-context-4.2.5.RELEASE.jar:4.2.5.RELEASE]
    1 frame