Coder Social home page Coder Social logo

Comments (9)

hebbaa avatar hebbaa commented on July 20, 2024 1

I am facing the same issue

from camunda-bpm-spring-boot-starter.

hebbaa avatar hebbaa commented on July 20, 2024 1

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
org.springframework.cloud.bootstrap.BootstrapConfiguration=org.camunda.bpm.spring.boot.starter.CamundaBpmProperties to
spring.factories

from camunda-bpm-spring-boot-starter.

jangalinski avatar jangalinski commented on July 20, 2024

Could you provide an example project somewhere? It might get hard to reproduce since the examples prove the setup (at least using maven) basically work ...

from camunda-bpm-spring-boot-starter.

qihaiyan avatar qihaiyan commented on July 20, 2024

when importing springcloud in gradle like:
compile("org.springframework.cloud:spring-cloud-starter-zuul")
compile("org.springframework.cloud:spring-cloud-starter-security")
the error will be reproduced.

from camunda-bpm-spring-boot-starter.

jangalinski avatar jangalinski commented on July 20, 2024

Ok, I will have a look

from camunda-bpm-spring-boot-starter.

hebbaa avatar hebbaa commented on July 20, 2024

any update on this issue?

from camunda-bpm-spring-boot-starter.

pixelthekid avatar pixelthekid commented on July 20, 2024

This is also happening for us, if we import spring cloud, Camunda will not start. This is using Maven.

from camunda-bpm-spring-boot-starter.

pixelthekid avatar pixelthekid commented on July 20, 2024

I think this is related to this fix: https://github.com/camunda/camunda-bpm-spring-boot-starter/pull/37/files

Something to do with spring cloud's parent context.

from camunda-bpm-spring-boot-starter.

jangalinski avatar jangalinski commented on July 20, 2024

I added an example that adds dependency to cloud. Could reproduce the error. Fixed it by adding the cloud-bootSTrapConfiguration to the existing spring.factories. Thanks @hebbaa for the solution idea.

from camunda-bpm-spring-boot-starter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.