Skip to content
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

Quartz is failing with JDBC but without Liquibase #18153

Closed
anderius opened this issue Sep 6, 2019 · 4 comments
Closed

Quartz is failing with JDBC but without Liquibase #18153

anderius opened this issue Sep 6, 2019 · 4 comments
Assignees
Labels
type: regression A regression from a previous release
Milestone

Comments

@anderius
Copy link

anderius commented Sep 6, 2019

Since #17539 (released in 2.1.8), it seems org.springframework.boot.autoconfigure.quartz.QuartzAutoConfiguration uses @ConditionalOnBean(SpringLiquibase.class).

Since I don't use Liquibase, and don't have it on classpath, my application won't start, with:

Error creating bean with name 'org.springframework.boot.autoconfigure.quartz.QuartzAutoConfiguration$JdbcStoreTypeConfiguration$QuartzSchedulerDependencyConfiguration': Unexpected exception during bean creation; nested exception is java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy.

Some later commit removed the similar reference to Flyway, but I suspect Liquibase was forgotten.
With Flyway, the code references FlywayMigrationInitializer, included in spring-boot-autoconfigure.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Sep 6, 2019
@anderius anderius changed the title TypeNotPresentExceptionProxy in QuartzAutoConfiguration without liquibase Quartz is failing with JDBC but without Liquibase Sep 6, 2019
@wilkinsona
Copy link
Member

wilkinsona commented Sep 6, 2019

Sorry for the inconvenience, @anderius, and thank you for the report. We'll fix this in 2.1.9. In the meantime you can either drop back to 2.1.7 or, if you'd like to stick with 2.1.8, you could add a dependency on Liquibase and disable its auto-configuration.

@wilkinsona wilkinsona added type: regression A regression from a previous release and removed status: waiting-for-triage An issue we've not yet triaged labels Sep 6, 2019
@wilkinsona wilkinsona added this to the 2.1.9 milestone Sep 6, 2019
@wilkinsona wilkinsona self-assigned this Sep 6, 2019
@philwebb
Copy link
Member

philwebb commented Sep 6, 2019

Sorry about that. @nosan even pointed it out as an issue but I thought it would be fine. 🤦‍♂

@pioto
Copy link

pioto commented Sep 9, 2019

@wilkinsona, do you have an expected release date for 2.1.9?

@wilkinsona
Copy link
Member

It'll be a couple of days after Spring Framework 5.1.10. It's current scheduled for 24 September so I've set 26 September as the current date for 2.1.9. It may move a little, but I'd expect only by a day or two.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: regression A regression from a previous release
Projects
None yet
Development

No branches or pull requests

5 participants