org.springframework.context.ApplicationContextException: Failed to start bean 'coreIdmEngineConfiguration';

I am getting an error .what is the reason for getting this error.How to solve it ?

org.springframework.context.ApplicationContextException: Failed to start bean ‘coreIdmEngineConfiguration’;

Hi,

The error message should have more details with a stacktrace showing more details of the exception. Can you share the full exception?

Best regards,

Tijs

org.springframework.context.ApplicationContextException: Failed to start bean ‘coreIdmEngineConfiguration’; nested exception is java.lang.ClassCastException: Cannot cast org.flowable.idm.api.event.FlowableIdmEventType to org.flowable.common.engine.api.delegate.event.FlowableEngineEventType

That’s a bit more, but still not the full stacktrace of the error message, please share the full stacktrace :slight_smile:

org.springframework.context.ApplicationContextException: Failed to start bean ‘coreIdmEngineConfiguration’; nested exception is java.lang.ClassCastException: Cannot cast org.flowable.idm.api.event.FlowableIdmEventType to org.flowable.common.engine.api.delegate.event.FlowableEngineEventType
at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:185) ~[spring-context-5.2.7.RELEASE.jar:5.2.7.RELEASE]
at org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:53) ~[spring-context-5.2.7.RELEASE.jar:5.2.7.RELEASE]
at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:360) ~[spring-context-5.2.7.RELEASE.jar:5.2.7.RELEASE]
at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:158) ~[spring-context-5.2.7.RELEASE.jar:5.2.7.RELEASE]
at org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:122) ~[spring-context-5.2.7.RELEASE.jar:5.2.7.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:895) ~[spring-context-5.2.7.RELEASE.jar:5.2.7.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:554) ~[spring-context-5.2.7.RELEASE.jar:5.2.7.RELEASE]
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:143) ~[spring-boot-2.3.2.RELEASE.jar:2.3.2.RELEASE]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:758) [spring-boot-2.3.2.RELEASE.jar:2.3.2.RELEASE]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:750) [spring-boot-2.3.2.RELEASE.jar:2.3.2.RELEASE]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) [spring-boot-2.3.2.RELEASE.jar:2.3.2.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) [spring-boot-2.3.2.RELEASE.jar:2.3.2.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1237) [spring-boot-2.3.2.RELEASE.jar:2.3.2.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226) [spring-boot-2.3.2.RELEASE.jar:2.3.2.RELEASE]

if i try to solve that exception I am getting another exception
Failed to start bean ‘coreIdmEngineConfiguration’;

Can you share your pom.xml that you are using? It looks like you’ve got some mixed up dependencies.

No It is not related to dependencies ,some code related issue was there