---
title: "Failed to load class \"org.slf4j.impl.StaticLoggerBinder\""
author: "虚弱的java"
date: "2013-01-14T14:51:14Z"
tags: ["SLF4J", "log4j"]
categories: ["开源软件"]
slug: "failed-to-load-class-org-slf4j-impl-staticloggerbinder"
draft: false
lastmod: "2013-01-14T14:51:14Z"
id: 1769412
url: "https://appleblue.iteye.com/blog/1769412"
---

异常信息如下：
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.
解决方案：
缺少slf4j-log4j12-1.6.3jar包引起的
注意：
log4j不同的版本对应不同的slf4j-log4j12。