Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-10863 Provide Spring Boot External Task Client as part of Spring Boot Starter
  3. CAM-13286

Spring logs configuration hint when BeanFactoryPostProcessor beans are not exposed via static method

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Fixed
    • L3 - Default
    • 7.15.0-alpha5, 7.15.0
    • None
    • None
    • None

    Description

      Problem

      Spring logs the following:

      [main] INFO org.springframework.context.annotation.ConfigurationClassPostProcessor - Cannot enhance @Configuration bean definition 'org.camunda.bpm.client.spring.impl.PostProcessorConfiguration' since its singleton instance has been created too early. The typical cause is a non-static @Bean method with a BeanDefinitionRegistryPostProcessor return type: Consider declaring such methods as 'static'.
      

      Solution

      Define bean methods that return a type assignable to BeanFactoryPostProcssor as static

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              tassilo.weidner Tassilo Weidner
              tassilo.weidner Tassilo Weidner
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce