Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialJose Mejia
16,758 PointsError when compile
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
I am using depen. compile 'com.sparkjava:spark-core:2.7.1'
1 Answer
Alec Meyer
6,303 Pointscompile 'org.slf4j.slf4j-simple:1.7.21' Add that to your build.gradle
Joseph Cauthen
7,320 PointsJoseph Cauthen
7,320 PointsHi there. Had the same problem. Following the link that is posted, I solved this by adding the slf4j-simple to my project.
compile 'org.slf4j:slf4j-simple:1.7.9'
cheers!