[slf4j-user] Still getting "Failed to load class "org.slf4j.impl.StaticLoggerBinder"" with logback-classic.jar on the classpath

Eugen Paraschiv hanriseldon at gmail.com
Sat Sep 29 17:40:07 CEST 2012


Hi,
I'm seeing this when running my Maven builds:
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.
My dependency tree is:
[INFO] --- maven-dependency-plugin:2.1:tree (default-cli) @
launchpad-provisioning ---
[INFO] org:launchpad-provisioning:war:0.0.1-SNAPSHOT
[INFO] +- org:launchpad-common:jar:0.0.1-SNAPSHOT:compile
[INFO] |  +- com.google.guava:guava:jar:13.0.1:compile
[INFO] |  +- org.apache.httpcomponents:httpcore:jar:4.1.4:compile
[INFO] |  +- org.apache.httpcomponents:httpclient:jar:4.1.3:compile
[INFO] |  +- commons-io:commons-io:jar:2.4:compile
[INFO] |  +- org.springframework:spring-core:jar:3.1.2.RELEASE:compile
[INFO] |  |  \- org.springframework:spring-asm:jar:3.1.2.RELEASE:compile
[INFO] |  +- org.springframework:spring-context:jar:3.1.2.RELEASE:compile
[INFO] |  +- org.springframework:spring-beans:jar:3.1.2.RELEASE:compile
[INFO] |  +- org.springframework:spring-expression:jar:3.1.2.RELEASE:compile
[INFO] |  +- org.springframework:spring-aspects:jar:3.1.2.RELEASE:compile
[INFO] |  |  \-
org.springframework:spring-context-support:jar:3.1.2.RELEASE:compile
[INFO] |  +- org.springframework:spring-webmvc:jar:3.1.2.RELEASE:compile
[INFO] |  +- org.springframework:spring-web:jar:3.1.2.RELEASE:compile
[INFO] |  |  \- aopalliance:aopalliance:jar:1.0:compile
[INFO] |  +- org.springframework:spring-oxm:jar:3.1.2.RELEASE:compile
[INFO] |  +-
org.springframework.security:spring-security-web:jar:3.1.2.RELEASE:compile
[INFO] |  |  \-
org.springframework.security:spring-security-core:jar:3.1.2.RELEASE:compile
[INFO] |  +-
org.springframework.security:spring-security-config:jar:3.1.2.RELEASE:compile
[INFO] |  +- org.springframework:spring-tx:jar:3.1.2.RELEASE:compile
[INFO] |  +- org.springframework:spring-aop:jar:3.1.2.RELEASE:compile
[INFO] |  +- com.fasterxml.jackson.core:jackson-databind:jar:2.0.6:compile
[INFO] |  |  +-
com.fasterxml.jackson.core:jackson-annotations:jar:2.0.6:compile
[INFO] |  |  \- com.fasterxml.jackson.core:jackson-core:jar:2.0.6:compile
[INFO] |  +- org.springframework:spring-jdbc:jar:3.1.2.RELEASE:compile
[INFO] |  +- org.springframework:spring-orm:jar:3.1.2.RELEASE:compile
[INFO] |  +-
org.springframework.data:spring-data-jpa:jar:1.1.2.RELEASE:compile
[INFO] |  |  +-
org.springframework.data:spring-data-commons-core:jar:1.3.2.RELEASE:compile
[INFO] |  |  \- org.aspectj:aspectjrt:jar:1.6.12:compile
[INFO] |  +- cglib:cglib-nodep:jar:2.2.2:runtime
[INFO] |  +- org.aspectj:aspectjweaver:jar:1.7.0:runtime
[INFO] |  +- org.hibernate:hibernate-entitymanager:jar:4.1.7.Final:compile
[INFO] |  |  +- org.jboss.logging:jboss-logging:jar:3.1.0.GA:compile
[INFO] |  |  +-
org.jboss.spec.javax.transaction:jboss-transaction-api_1.1_spec:jar:1.0.0.Final:compile
[INFO] |  |  +- dom4j:dom4j:jar:1.6.1:compile
[INFO] |  |  +-
org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar:1.0.1.Final:compile
[INFO] |  |  +- org.javassist:javassist:jar:3.15.0-GA:compile
[INFO] |  |  +- org.hibernate:hibernate-core:jar:4.1.7.Final:compile
[INFO] |  |  \-
org.hibernate.common:hibernate-commons-annotations:jar:4.0.1.Final:compile
[INFO] |  +- org.hibernate:hibernate-validator:jar:4.3.0.Final:compile
[INFO] |  |  \- javax.validation:validation-api:jar:1.0.0.GA:compile
[INFO] |  +- com.h2database:h2:jar:1.3.168:compile
[INFO] |  +- mysql:mysql-connector-java:jar:5.1.21:runtime
[INFO] |  +- org.hsqldb:hsqldb:jar:2.2.8:compile
[INFO] |  +- org.hibernate:hibernate-jpamodelgen:jar:1.2.0.Final:compile
[INFO] |  +- org.slf4j:slf4j-api:jar:1.7.1:compile
[INFO] |  +- ch.qos.logback:logback-classic:jar:1.0.7:compile
[INFO] |  |  \- ch.qos.logback:logback-core:jar:1.0.7:compile
[INFO] |  +- org.slf4j:jcl-over-slf4j:jar:1.7.1:compile
[INFO] |  +- org.slf4j:log4j-over-slf4j:jar:1.7.1:compile
[INFO] |  +- org.apache.commons:commons-lang3:jar:3.2-SNAPSHOT:compile
[INFO] |  \- org.codehaus.groovy:groovy:jar:1.8.6:compile
[INFO] |     +- antlr:antlr:jar:2.7.7:compile
[INFO] |     +- asm:asm:jar:3.2:compile
[INFO] |     +- asm:asm-commons:jar:3.2:compile
[INFO] |     +- asm:asm-util:jar:3.2:compile
[INFO] |     +- asm:asm-analysis:jar:3.2:compile
[INFO] |     \- asm:asm-tree:jar:3.2:compile
[INFO] +- org:launchpad-provisioning-api:jar:0.0.1-SNAPSHOT:compile
[INFO] |  +- org:launchpad-shared:jar:0.0.1-SNAPSHOT:compile
[INFO] |  |  \- javax.mail:mail:jar:1.4.4:compile
[INFO] |  |     \- javax.activation:activation:jar:1.1.1:compile
[INFO] |  \- com.thoughtworks.xstream:xstream:jar:1.4.3:compile
[INFO] |     +- xmlpull:xmlpull:jar:1.1.3.1:compile
[INFO] |     \- xpp3:xpp3_min:jar:1.1.4c:compile
[INFO] +- org:launchpad-security-api:jar:0.0.1-SNAPSHOT:compile
[INFO] +- org:launchpad-test-common:jar:0.0.1-SNAPSHOT:test
[INFO] +- org.jclouds:jclouds-allcompute:jar:1.5.0:compile
[INFO] |  +-
org.jclouds.provider:greenhousedata-element-vcloud:jar:1.5.0:compile
[INFO] |  +-
org.jclouds.provider:eucalyptus-partnercloud-ec2:jar:1.5.0:compile
[INFO] |  |  \- org.jclouds.api:eucalyptus:jar:1.5.0:compile
[INFO] |  +- org.jclouds.api:deltacloud:jar:1.5.0:compile
[INFO] |  +- org.jclouds.provider:aws-ec2:jar:1.5.0:compile
[INFO] |  |  \- org.jclouds.common:aws-common:jar:1.5.0:compile
[INFO] |  +- org.jclouds.provider:rimuhosting:jar:1.5.0:compile
[INFO] |  +- org.jclouds.api:openstack-nova:jar:1.5.0:compile
[INFO] |  |  \- org.jclouds.api:openstack-keystone:jar:1.5.0:compile
[INFO] |  +- org.jclouds.api:openstack-nova-ec2:jar:1.5.0:compile
[INFO] |  +- org.jclouds.api:nova:jar:1.5.0:compile
[INFO] |  |  \- org.jclouds.common:openstack-common:jar:1.5.0:compile
[INFO] |  +- org.jclouds.api:byon:jar:1.5.0:compile
[INFO] |  |  \- org.yaml:snakeyaml:jar:1.10:compile
[INFO] |  +- org.jclouds.api:ec2:jar:1.5.0:compile
[INFO] |  +- org.jclouds.provider:cloudservers-us:jar:1.5.0:compile
[INFO] |  +- org.jclouds.provider:cloudservers-uk:jar:1.5.0:compile
[INFO] |  +- org.jclouds.api:cloudservers:jar:1.5.0:compile
[INFO] |  +- org.jclouds.api:vcloud:jar:1.5.0:compile
[INFO] |  |  \- com.jamesmurty.utils:java-xmlbuilder:jar:0.4:compile
[INFO] |  +- org.jclouds.api:cloudsigma:jar:1.5.0:compile
[INFO] |  +- org.jclouds.provider:trmk-vcloudexpress:jar:1.5.0:compile
[INFO] |  |  \- org.jclouds.common:trmk-common:jar:1.5.0:compile
[INFO] |  +- org.jclouds.provider:trmk-ecloud:jar:1.5.0:compile
[INFO] |  +- org.jclouds.provider:bluelock-vcloud-zone01:jar:1.5.0:compile
[INFO] |  +- org.jclouds.provider:stratogen-vcloud-mycloud:jar:1.5.0:compile
[INFO] |  +- org.jclouds.provider:gogrid:jar:1.5.0:compile
[INFO] |  +- org.jclouds.provider:slicehost:jar:1.5.0:compile
[INFO] |  +- org.jclouds.api:elasticstack:jar:1.5.0:compile
[INFO] |  +- org.jclouds.provider:elastichosts-lon-p:jar:1.5.0:compile
[INFO] |  +- org.jclouds.provider:elastichosts-sat-p:jar:1.5.0:compile
[INFO] |  +- org.jclouds.provider:elastichosts-lon-b:jar:1.5.0:compile
[INFO] |  +- org.jclouds.provider:openhosting-east1:jar:1.5.0:compile
[INFO] |  +- org.jclouds.provider:serverlove-z1-man:jar:1.5.0:compile
[INFO] |  +- org.jclouds.provider:skalicloud-sdg-my:jar:1.5.0:compile
[INFO] |  +- org.jclouds.provider:cloudsigma-zrh:jar:1.5.0:compile
[INFO] |  +- org.jclouds.provider:cloudsigma-lvs:jar:1.5.0:compile
[INFO] |  +- org.jclouds.provider:go2cloud-jhb1:jar:1.5.0:compile
[INFO] |  +- org.jclouds.provider:softlayer:jar:1.5.0:compile
[INFO] |  +- org.jclouds.api:cloudstack:jar:1.5.0:compile
[INFO] |  +- org.jclouds.provider:ninefold-compute:jar:1.5.0:compile
[INFO] |  +- org.jclouds.provider:hpcloud-compute:jar:1.5.0:compile
[INFO] |  +- org.jclouds.provider:trystack-nova:jar:1.5.0:compile
[INFO] |  \-
org.jclouds.provider:rackspace-cloudservers-us:jar:1.5.0:compile
[INFO] |     \- org.jclouds.api:rackspace-cloudidentity:jar:1.5.0:compile
[INFO] +- org.jclouds.driver:jclouds-slf4j:jar:1.5.0:compile
[INFO] |  \- org.jclouds:jclouds-core:jar:1.5.0:compile
[INFO] |     +- net.oauth.core:oauth:jar:20100527:compile
[INFO] |     +- com.sun.jersey:jersey-core:jar:1.12:compile
[INFO] |     +-
com.google.inject.extensions:guice-assistedinject:jar:3.0:compile
[INFO] |     +- com.google.inject:guice:jar:3.0:compile
[INFO] |     +- org.99soft.guice:rocoto:jar:6.1:compile
[INFO] |     +- javax.inject:javax.inject:jar:1:compile
[INFO] |     +- javax.annotation:jsr250-api:jar:1.0:compile
[INFO] |     \- com.google.code.gson:gson:jar:2.2:compile
[INFO] +- org.jclouds.driver:jclouds-sshj:jar:1.5.0:compile
[INFO] |  +- org.jclouds:jclouds-compute:jar:1.5.0:compile
[INFO] |  |  \- org.jclouds:jclouds-scriptbuilder:jar:1.5.0:compile
[INFO] |  +- org.jclouds.driver:jclouds-bouncycastle:jar:1.5.0:compile
[INFO] |  |  \- org.bouncycastle:bcprov-jdk16:jar:1.46:compile
[INFO] |  \- net.schmizz:sshj:jar:0.8.1:compile
[INFO] +- commons-codec:commons-codec:jar:1.6:compile
[INFO] +- javax.servlet:javax.servlet-api:jar:3.0.1:provided
[INFO] +- org.springframework:spring-test:jar:3.1.2.RELEASE:test
[INFO] +- junit:junit-dep:jar:4.10:test
[INFO] +- org.hamcrest:hamcrest-core:jar:1.3:test
[INFO] +- org.hamcrest:hamcrest-library:jar:1.3:test
[INFO] +- org.mockito:mockito-core:jar:1.9.5-rc1:test
[INFO] |  \- org.objenesis:objenesis:jar:1.0:test
[INFO] \- com.jayway.restassured:rest-assured:jar:1.6.2:test
[INFO]    +- org.apache.httpcomponents:httpmime:jar:4.1.3:test
[INFO]    +- commons-collections:commons-collections:jar:3.2.1:test
[INFO]    \- org.ccil.cowan.tagsoup:tagsoup:jar:1.2.1:test
So, I do have logback-classic on the classpath, yet still seeing the error.
Any help on this is appreciated.
Thanks.

-- 
Eugen Paraschiv
Senior Java Programmer, Optaros
Mobile: +40728896170
Blog: www.baeldung.com
Twitter: https://twitter.com/baeldung
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/slf4j-user/attachments/20120929/330c5902/attachment.html>


More information about the slf4j-user mailing list