SLF4J: Class path contains multiple SLF4J bindings.
来源:互联网 发布:sql 时间转换成秒 编辑:程序博客网 时间:2024/05/16 10:23
SLF4J: Class path contains multiple SLF4J bindings.
今天在开发时遇到此错误,经过排查发现原来是 引用junit和spring test版本不匹配引起的
解决方案:查看spring test 的pom文件,发现引用
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>compile</scope>
<optional>true</optional>
</dependency>
为4.11版本
修改主文件pom的junit为即可解决错误
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>
0 0
- SLF4J: Class path contains multiple SLF4J bindings
- SLF4J: Class path contains multiple SLF4J bindings
- SLF4J: Class path contains multiple SLF4J bindings.
- SLF4J: Class path contains multiple SLF4J bindings.
- SLF4J: Class path contains multiple SLF4J bindings.
- SLF4J: Class path contains multiple SLF4J bindings.
- SLF4J: Class path contains multiple SLF4J bindings.
- SLF4J: Class path contains multiple SLF4J bindings.
- SLF4J: Class path contains multiple SLF4J bindings.
- SLF4J: Class path contains multiple SLF4J bindings.
- SLF4J: Class path contains multiple SLF4J bindings.
- SLF4J: Class path contains multiple SLF4J bindings
- SLF4J: Class path contains multiple SLF4J bindings
- Class path contains multiple SLF4J bindings
- Tensorflow- Class path contains multiple SLF4J bindings
- SLF4J: Class path contains multiple SLF4J bindings 错误
- Hbase SLF4J: Class path contains multiple SLF4J bindings 错误
- SLF4J: Class path contains multiple SLF4J bindings 错误
- android studio 导入工程篇(2)
- UVa 11729 - Commando War(贪心)
- quick动态控制动画的播放速度
- 将json字符串转化为java对象
- 如何在纯HTML页面中进行值传递
- SLF4J: Class path contains multiple SLF4J bindings.
- Solr管理界面以及标准接口说明
- 用VS2005(其他版本也可以)调试dump文件
- android 唤醒锁定屏幕和锁屏状态下点亮屏幕,并弹出闹钟提示信息
- Note: there were 157 duplicate class definitions
- USACO 2.1-Healthy Holsteins
- 冒泡型事件、捕获型事件
- android自定义View之NotePad出鞘记
- C语言结构体复习