-
Bug Report
-
Resolution: None
-
L3 - Default
-
None
-
None
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
Description |
Original:
When using the camunda-spring-boot-starter with the spring-boot version 2.2.5.RELEASE
like described in the [examples|https://github.com/camunda/camunda-bpm-examples/blob/master/spring-boot-starter/example-webapp/pom.xml] (need to change the spring.boot.version property to 2.2.5.RELEASE) booting up the application fails with a generic error. {code} *************************** 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. {code} This is also broken for older versions of camunda (e.g. 7.12.0). |
New:
When using the camunda-spring-boot-starter with the spring-boot version 2.2.5.RELEASE
like described in the [examples|https://github.com/camunda/camunda-bpm-examples/blob/master/spring-boot-starter/example-webapp-ee/pom.xml] (need to change the spring.boot.version property to 2.2.5.RELEASE) booting up the application fails with a generic error. {code} *************************** 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. {code} This is broken for community and enterprise editions and also for older versions of camunda (e.g. 7.12.0). |
Mentioned Roles |
Mentioned Groups |
Assignee | Original: Thorben Lindhauer [ thorben.lindhauer ] | New: Miklas Boskamp [ miklas.boskamp ] |
Mentioned Roles |
Mentioned Groups |
Fix Version/s | New: 7.12.x [ 15531 ] | |
Fix Version/s | New: 7.13.0 [ 15532 ] |
Mentioned Roles |
Mentioned Groups |