title: ClassNotFoundException running Liquibase standalone on command line
body: <p>I want to run Liquibase standalone (i.e. w/o "installation") on the command line. However, whatever I tried I'm getting <code>java.lang.ClassNotFoundException: ch.qos.logback.core.Context</code> or some other logback class.</p>
  
  <p>I checked the Liquibase <code>pom.xml</code> to find out exactly which dependencies it needs and provided them accordingly.</p>
  
  <p><strong>1. attempt</strong></p>
  
  <pre><code>java -jar liquibase-core-3.8.6.jar \
       -cp jaxb-api-2.3.0.jar:snakeyaml-1.24.jar:slf4j-api-1.7.28.jarlogback-core-1.2.3.jar::logback-classic-1.2.3.jar \
       --classpath=backend/target/mywar.war \
       --changeLogFile=db/changelog/db.changelog-master.xml
  </code></pre>
  
  <p><strong>2. and further attempts</strong></p>
  
  <p>I understand that <code>-cp</code> is the regular classpath parameter for the <code>java</code> command and <code>--classpath</code> is a program argument for Liquibase as per <a href="https://www.liquibase.org/documentation/command_line.html" rel="nofollow noreferrer">the documentation</a>. Yet, I still tried various combinations of parameters of the 1st attempt but to no avail.</p>