---
title: "java.lang.NoSuchMethodError: org.slf4j.helpers.MessageFormatter.format"
author: "grey2"
date: "2017-08-18T18:03:19Z"
tags: []
categories: ["编程语言"]
slug: "java-lang-nosuchmethoderror-org-slf4j-helpers-messageformatter-format"
draft: false
lastmod: "2017-08-18T18:03:19Z"
id: 2390326
url: "https://grey2.iteye.com/blog/2390326"
---

问题：java.lang.NoSuchMethodError: org.slf4j.helpers.MessageFormatter.format

原因：jar包冲突

解决方法：使用以下包

slf4j-api 1.6.*  示例（1.6.6）

slf4j-log4j12 1.6.* 示例（1.6.6）  
log4j 1.2.16+

 

若还不行，将多余的包删除，如：slf4j-simple-xxx