-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Liquibase not reading JAR from classpath #177
Comments
by running the command as DEBUG log-leve, i'm seeing the JAR file is there (in the overall search path)
But still getting theClassNotFoundException |
hey @luisospina-sealed,
Now the error that I'm getting is:
But this is normal, since I don't have access to GCP. Hope it helps :) |
I have a similar issue, but when creating an extended docker image with the neo4j plugin jar:
and when the image starts the following error occurs:
I've confirmed that the url is correctly set and also I've tried placing the jar on |
Hello, |
Short answer: Longer answer: For what to include in the classpath, liquibase ONLY looks in:
I'm going to open a PR with a better volume mapping for |
Hi @nvoxland,
|
I'm going to re-open this, since #206 improves it and also updates the docs. |
This forum post is also about this issue: https://forum.liquibase.org/t/unable-to-recognise-jar-file-for-liquibase-extension-to-redshift-via-classpath-property/8234 |
I would suggest that anyone who has an issue putting their desired jar into
we have a gradle task that pulls down our desired dependency and was putting it into I tried quite a few different things (for some reason pinning the I ended up pulling the dependencies into Thanks @nvoxland for adding all the paths so that I could try them all to see what ended up working. |
Users can also use LPM and we have this documented. Additionally users have expressed workarounds in this issue, so closing for now. Please feel free to re-open if the issue persists. |
I'm trying to connect to a Postgres Google Cloud SQL instance which requires an additional dependency (https://mvnrepository.com/artifact/com.google.cloud.sql/postgres-socket-factory/1.7.0)
I'm using the following command to execute Liquibase update:
But Liquibase is not using the JAR that I specified above .--classpath="/liquibase/changelog:/liquibase/classpath/postgres-socket-factory-1.7.0.jar"
I'm seeing that the JAR is being copied to the container to the right path, but when running command update Liquibase throws a Class not found error:
The text was updated successfully, but these errors were encountered: