Quantcast
Channel: Liquibase Forums
Viewing all articles
Browse latest Browse all 2993

Re : Exception in thread "main" java.lang.NoClassDefFoundError:

$
0
0
liquibase   --classpath="C:\Users\Axxx\.m2\repository\com\oracle\ojdbc8\12.2.0.1\ojdbc8-12.2.0.1.jar;D:\Liquibase\liquibase\target\liquibase-0.0.1-SNAPSHOT.jar"     --changeLogFile=database.changelog-master.xml  --url="jdbc:oracle:thin:@hostname:1521:a043168"    --username=user--password=password update

the above stuff works. 

How do i make it work with java?

java -jar ./liquibase.jar --driver=com.oracle.ojdbc8 --classpath="C:\Users\A054804\.m2\repository\com\oracle\ojdbc8\12.2.0.1\ojdbc8-12.2.0.1.jar;F:\Liquibase\liquibase\target\liquibase-0.0.1-SNAPSHOT.jar"  --changeLogFile=database.changelog-master.xml  --url="jdbc:oracle:thin:@host:1521:service"    --username=db11  --password=password update

Viewing all articles
Browse latest Browse all 2993

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>