PokemonGoBot icon indicating copy to clipboard operation
PokemonGoBot copied to clipboard

Build Failure slf4j StaticLoggerBinder

Open viscouspotato opened this issue 8 years ago • 3 comments

Description: Build Failed due to load class failure "org.slf4j.impl.StaticLoggerBinder"

Steps to reproduce: $ gradle build

Expected behavior: application builds

Actual behavior: build failure

Stacktrace (If it's a crash): $gradle build SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

FAILURE: Build failed with an exception.

  • What went wrong: org/slf4j/impl/StaticLoggerBinder

Version: PokemonGoBot-0.5.1

Operating System: OSX 10.11.3

Java version: java version "1.8.0_102" Java(TM) SE Runtime Environment (build 1.8.0_102-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.102-b14, mixed mode)

viscouspotato avatar Aug 11 '16 00:08 viscouspotato

Try a clean build ./gradlew clean build < Yes use the provided gradlew script, not your installation that might be outdated.

langerhans avatar Aug 11 '16 19:08 langerhans

Same issue :/

$ ./gradlew clean build SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

FAILURE: Build failed with an exception.

  • What went wrong: org/slf4j/impl/StaticLoggerBinder

viscouspotato avatar Aug 11 '16 23:08 viscouspotato

This cannot occur since slf4j 1.6.0

Are you sure you're in the correct directory?

jabbink avatar Aug 15 '16 21:08 jabbink