-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
flowable-event-registry dependency on liquibase causes Spring Boot startup errors #2142
Comments
We have the So if you are using our starters you should not be seeing this problem. Are you using our autoconfiguration or not? If you are, then which Spring Boot version are you using? How are you configuring your Spring Boot Application? If you are not using our starters or autoconfiguration then you will need to manually disable the Spring Boot Liquibase property:
|
Thanks for your answer. Since Flowable is an optional module of Apache Syncope (the Spring Boot 2.2 application I am mentioning above) I would like to avoid "polluting" the main @Bean
public SpringLiquibase liquibase() {
SpringLiquibase liquibase = new SpringLiquibase();
liquibase.setShouldRun(false);
return liquibase;
} For the moment, it seems to work. |
That's one option of doing it (this overrides the SpringLiquibase bean from Spring Boot). You can also do something like the I am closing this issue now. If you think that there is something that we can do about it, please let us know. |
One other thing I forgot to add. If you are adding a bean then you would have to also add |
Understood, thanks. |
At the end I went through the |
Due to this dependency https://github.com/flowable/flowable-engine/blob/master/modules/flowable-event-registry/pom.xml#L72-L75 I am receiving startup exceptions from my Spring Boot application:
The text was updated successfully, but these errors were encountered: