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

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

$
0
0

I had included the self4j-api.1.7.25 as external jar when I had build it but still same error. 

Also tried the following too

D:\Liquibase3.8.0>set path=%path%;D:\Liquibase3.8.0\lib;

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


Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
        at liquibase.logging.core.Slf4JLoggerFactory.getLog(Slf4JLoggerFactory.java:9)
        at liquibase.logging.LogService.getLog(LogService.java:39)
        at liquibase.integration.commandline.Main.<clinit>(Main.java:62)
Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
        at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 3 more

Viewing all articles
Browse latest Browse all 2993

Trending Articles



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