I am trying to run a Java application, but getting this error:
java.lang.ClassNotFoundException:
After the colon comes the location of the cla
If you use maven, check that you have this plugin in your pom.xml:
pom.xml
org.apache.maven.plugins maven-shade-plugin 3.2.0 package shade
It will put your dependency (the exception reason) to your jar.
FYI: this will include all dependencies inflated in the final jar