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

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". - January 2022

I am getting this error when trying to run Main.java:

12:59:55 PM: Executing ':Main.main()'...

Task :compileJava UP-TO-DATE Task :processResources NO-SOURCE Task :classes UP-TO-DATE

Task :Main.main() 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've tried adding other code to the dependencies like I see in other answers, but it doesn't work, or I don't know where to properly add the code. I know so little I'm really not sure which.

What do I need to do to fix this so I can move on with the course?

I was able to solve this one with:

implementation group: 'org.slf4j', name: 'slf4j-jdk14', version: '1.7.33'

This course needs to be updated. This is beyond frustrating.