Machine:
Windows 10
java version "1.8.0_181" Java(TM) SE Runtime Environment (build 1.8.0_181-b13) Java HotSpot(TM) Client VM (build 25.181-b13, mixed mode)
JDBC Driver 6.0 for Windows is copied to: C:\Dev\JDBC
liquibase 3.5.5 copied to: C:\Dev\liquibase
My liquibase.properties file is:
classpath="C:\\Dev\\JDBC\\sqljdbc42.jar"
driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
url="jdbc:SQLEXPRESS@localhost:1433:DBName01;integratedSecurity=true;"
referenceUrl="jdbc:SQLEXPRESS@localhost:1433:DBName02;integratedSecurity=true;"
I run liquibase diff
on the command line, but get this error:
C:\Dev\liquibase>liquibase diff Unexpected error running Liquibase: C:\Dev\liquibase\"C:\Dev\JDBC\sqljdbc42.jar" does not exist
SEVERE 9/19/18 7:55 PM: liquibase: C:\Dev\liquibase\"C:\Dev\JDBC\sqljdbc42.jar" does not exist liquibase.exception.CommandLineParsingException: C:\Dev\liquibase\"C:\Dev\JDBC\sqljdbc42.jar" does not exist at liquibase.integration.commandline.Main.configureClassLoader(Main.java:828) at liquibase.integration.commandline.Main.run(Main.java:187) at liquibase.integration.commandline.Main.main(Main.java:103)
For more information, use the --logLevel flag
I have copied sqljdbc42.jar to C:\Dev\liquibase\lib, and also to C:\Dev\JDBC and included that in my CLASSPATH. How should I specify the path to this file so liquibase can find it?
Thank you!
classpath=C:/Dev/JDBC/sqljdbc42.jar
- JensC:\Dev\liquibase\"C:\Dev\JDBC\sqljdbc42.jar" does not exist
- SteveDonie