Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No qualifying bean of type [org.camunda.bpm.spring.boot.starter.CamundaBpmProperties]

See original GitHub issue

We are creating SpringBoot gradle project with camunda-bpm dependencies in it. However when we run the - it throws following exception.

org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.camunda.bpm.spring.boot.starter.CamundaBpmProperties] is defined at ~[spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE] at ~[spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE] at ~[spring-context-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.camunda.bpm.spring.boot.starter.runlistener.AbstractFinishedWithNoExceptionRunListener.getBean( ~[camunda-bpm-spring-boot-starter-1.0.0.jar:1.0.0] at org.camunda.bpm.spring.boot.starter.runlistener.AbstractFinishedWithNoExceptionRunListener.finished( ~[camunda-bpm-spring-boot-starter-1.0.0.jar:1.0.0] at [spring-boot-1.2.5.RELEASE.jar:1.2.5.RELEASE] at [spring-boot-1.2.5.RELEASE.jar:1.2.5.RELEASE] at [spring-cloud-context-1.0.2.RELEASE.jar:1.0.2.RELEASE] at [spring-cloud-context-1.0.2.RELEASE.jar:1.0.2.RELEASE] at [spring-cloud-context-1.0.2.RELEASE.jar:1.0.2.RELEASE] at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener( [spring-context-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent( [spring-context-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.boot.context.event.EventPublishingRunListener.publishEvent( [spring-boot-1.2.5.RELEASE.jar:1.2.5.RELEASE] at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared( [spring-boot-1.2.5.RELEASE.jar:1.2.5.RELEASE] at [spring-boot-1.2.5.RELEASE.jar:1.2.5.RELEASE] at [bin/:na]

The dependencies included in build.gradle is - compile group: ‘org.camunda.bpm.extension’, name: ‘camunda-bpm-spring-boot-starter’, version: ‘1.1.0’ compile group: ‘org.camunda.bpm.webapp’, name: ‘camunda-webapp-webjar’, version: ‘7.4.0’

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:1
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

hebbaacommented, Mar 22, 2016

Spring cloud will create its own bootstrap application context and Tries to invoke org.camunda.bpm.spring.boot.starter.runlistener.AbstractFinishedWithNoExceptionRunListener But this has got dependency of CamundaBpmProperties which will not be instantiated implicitly by bootstrap context

To fix above

Create directory META-INF/spring.factories Under resource directory And add key, value to spring.factories

hebbaacommented, Mar 16, 2016

I am facing the same issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

ProcessApplication gets loaded in a test although it should not
NoSuchBeanDefinitionException: No qualifying bean of type '' available: ...
Read more >
Spring Boot with Camunda Application - Stack Overflow
For that I have created a Spring Boot Java project. It runs perfectly. Now I want to include Camunda BPM workflow into my...
Read more >
Fix No Qualifying Spring Bean Error For Spring Boot Tests
Reasons and solutions for no qualifying Spring Bean errors when writing tests for Spring Boot applications that include a Spring Test ...
Read more >
How to fix @Autowired - No qualifying bean of type found for ...
In most cases, we simply try to inject a bean that isn't defined. In the spring framework, there are three ways to configure...
Read more >
Invoking a Spring Bean from a BPMN 2.0 Service Task
Now that we know how to bootstrap the process engine in a Spring ... Add a class called Starter to the org.camunda.bpm.getstarted.loanapproval package:...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found