IllegalArgumentException when launching application built with Spring Boot Maven Plugin

I have an application that is built into an Uber (fat) jar using the Spring Boot Maven Plugin.

We use the liquibase.integration.commandline.Main class to invoke Liquibase programmatically.

In Main.parseOptions, Liquibase searches for When I run this on Windows, it looks for a resource C:…\ using the ClassLoader.

The Spring Boot classloader chokes on this and throw an IllegalArgumentException.

I am quite surprised that no one has reported this yet.


You do need a file, as noted here:

When you say:

Would you provide the complete logs that shows what’s going on?