"Could not find implementation of liquibase.logging.Logger" starts appearing after migration from 3.1.1 to 3.2.0

Description

We are using Liquibase with Spring-Boot and during development we've start encountering "Could not find implementation of liquibase.logging.Logger" exceptions. After debugging and testing different solutions we had to downgrade Liquibase from 3.2.0 to 3.1.1 as for 3.2.0 we keep on receiving this exception.

To illustrate an issue I've prepared small project basing on spring-boot-sample-liquibase:
https://github.com/tdziurko/spring-boot/commits/missing-logger-implementation (last two commits)

To reproduce:
1. git clone https://github.com/tdziurko/spring-boot.git
2. cd spring-boot/spring-boot-samples/spring-boot-sample-liquibase/
3. git checkout missing-logger-implementation
4. mvn clean install // to create fatJar

To see exception launch executable jar:
5. java -jar target/spring-boot-sample-liquibase-1.2.0.BUILD-SNAPSHOT.jar

If you change liquibase-core version to 3.1.1 exception won't appear.

Environment

Java 7, MacOS, also reproduced on Windows 7 with same Java

Activity

Show:

Nathan Voxland October 21, 2014 at 8:50 PM

Forgot the pull request, thanks for the reminder. Sent https://github.com/spring-projects/spring-boot/pull/1743

Tomasz Dziurko August 22, 2014 at 12:51 PM

Any update on this, especially with regards to pull request to spring-boot?

Nathan Voxland July 16, 2014 at 4:01 PM

Issue was a change to the liquibase DefaultPackageScanClassResolver interface that broke the subclass in spring-boot. Updated the API slightly and will send a pull request to spring-boot when 3.2.1 is out.

Fixed

Details

Reporter

Fix versions

Affects versions

Priority

Created July 11, 2014 at 7:51 PM
Updated October 21, 2014 at 8:50 PM
Resolved July 16, 2014 at 4:02 PM