Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-11787

spring-boot-starter example not working with spring-boot 2.2.5.RELEASE

    • Icon: Bug Report Bug Report
    • Resolution: None
    • Icon: L3 - Default L3 - Default
    • None
    • None
    • spring-boot

      When using the camunda-spring-boot-starter with the spring-boot version 2.2.5.RELEASE
      like described in the examples (need to change the spring.boot.version property to 2.2.5.RELEASE) booting up the application fails with a generic error.

      ***************************
      APPLICATION FAILED TO START
      ***************************
      
      Description:
      
      Field transactionManager in org.camunda.bpm.spring.boot.starter.configuration.impl.DefaultDatasourceConfiguration required a bean of type 'org.springframework.transaction.PlatformTransactionManager' that could not be found.
      
      The injection point has the following annotations:
      	- @org.springframework.beans.factory.annotation.Autowired(required=true)
      
      The following candidates were found but could not be injected:
      	- Bean method 'transactionManager' in 'DataSourceTransactionManagerAutoConfiguration.DataSourceTransactionManagerConfiguration' not loaded because @ConditionalOnSingleCandidate (types: javax.sql.DataSource; SearchStrategy: all) did not find any beans
      
      
      Action:
      
      Consider revisiting the entries above or defining a bean of type 'org.springframework.transaction.PlatformTransactionManager' in your configuration.
      

      This is broken for community and enterprise editions and also for older versions of camunda (e.g. 7.12.0).

        This is the controller panel for Smart Panels app

            [CAM-11787] spring-boot-starter example not working with spring-boot 2.2.5.RELEASE

            There are no comments yet on this issue.

              Unassigned Unassigned
              miklas.boskamp Miklas Boskamp
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: