LiquibaseServletListener: ClassNotFoundException: org.apache.derby.jdbc.EmbeddedDriver

Description

[Spun off which I overloaded too much.]

LiquibaseServletListener is failing when used with Embedded Derby packaged inside the application:

21-Dec-2019 15:05:57.530 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.listenerStart Exception sending context initialized event to listener instance of class [liquibase.integration.servlet.LiquibaseServletListener]

It appears caused by the change for CORE-3022.

Steps to reproduce

derby-embedded.zip

Either:

  • mvn clean package

  • Copy target/derby-embedded.war<CATALINA_HOME>/webapps

  • Start Tomcat

or:

  • (optional) mvn resources:resources liquibase:update

  • mvn package tomcat7:run

 

Environment

  • Java 1.8

  • Tomcat 7 / 8.5

  • Derby 10.4

  • Liquibase 3.8.3 (3.6.0+)

Reporter

Stanimir Stamenkov

Components

Affects versions

Priority

Minor
Configure