DeemOpen / zkui

A UI dashboard that allows CRUD operations on Zookeeper.
2.36k stars 977 forks source link

NoSuchMethodError org.slf4j.spi.LocationAwareLogger.log #39

Closed containerpope closed 7 years ago

containerpope commented 7 years ago

I pulled the project and did a mvn clean install and then I wanted to start the container. The code fails with following exception.

java -jar target/zkui-2.0-SNAPSHOT-jar-with-dependencies.jar
Exception in thread "main" java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V
        at org.apache.commons.logging.impl.SLF4JLocationAwareLog.debug(SLF4JLocationAwareLog.java:120)
        at com.googlecode.flyway.core.util.logging.apachecommons.ApacheCommonsLog.debug(ApacheCommonsLog.java:39)
        at com.googlecode.flyway.core.dbsupport.DbSupportFactory.createDbSupport(DbSupportFactory.java:59)
        at com.googlecode.flyway.core.Flyway.execute(Flyway.java:1177)
        at com.googlecode.flyway.core.Flyway.migrate(Flyway.java:819)
        at com.deem.zkui.dao.Dao.checkNCreate(Dao.java:56)
        at com.deem.zkui.Main.main(Main.java:61)

Have you encountered this error before?

containerpope commented 7 years ago

It seems, I just had an error with one change in the pom. Closing this.