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 trial

Java Intro to Java Web Development with Spark Diving into Web Development Meet Spark

Tonnie Fanadez
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Tonnie Fanadez
UX Design Techdegree Graduate 22,796 Points

SLF4J: Failed to load class org.slf4j.impl.StaticLoggerBinder

Running to SLFJ error when taking the Spark Course

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.
Tonnie Fanadez
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Tonnie Fanadez
UX Design Techdegree Graduate 22,796 Points

If running on the above error which took me hours to resolve just use these 3 lines, it worked for me in October 2019

dependencies {

    compile 'com.sparkjava:spark-core:2.9.1'
    compile 'org.slf4j:slf4j-api:2.0.0-alpha1'
    compile 'org.slf4j:slf4j-simple:2.0.0-alpha1'

}

Thanks Tonnie Fanadez been trying to find a solution for a while now

Thank you for posting your solution!

3 Answers

Thank you for taking the time to post this solution it was very helpful. I got everything running on my machine

Gabriel Murut
Gabriel Murut
5,418 Points

Thanks Tonnie, still working on June 2020!

Thanks Tonnie, it helped. December 2020.