shiro报错SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".和Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
2024-08-30 09:56:20
未能加载类"org.slf4j.impl.StaticLoggerBinder"
解决方案:
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>1.6.6</version>
</dependency>
线程“主”java.lang中的异常。NoClassDefFoundError: org/apache/commons/logging/LogFactory
解决方案:
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>1.6.6</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.2</version>
</dependency>
最新文章
- OncrickListener的实现
- 关于mysql MYISAM引擎的锁问题
- Ubuntu下的MySQL安装
- css常用样式
- java nio 网络框架实现
- [51NOD1393]0和1相等串(前缀和,map)
- jvm性能调优---jstat的用法
- 今天研究了下webservice 终于OK了
- springMVC简单的安全防御配置
- 使用Aspose.Cells利用模板导出Excel(C#)
- word自动备份,word误删内容恢复
- windows动态库与Linux动态库
- 【开源GPS追踪】 之 服务器端opengts安装
- 挂载银行前置机Ukey到windows server2012虚拟机的操作记录
- hadoop之 Yarn 调度器Scheduler详解
- springboot-3-其他配置
- just_sort
- USACO 6.1 Cow XOR
- css表格单元格中的长文本的显示问题
- Kettle中调用用户自定义的jar包
热门文章
- infinite scroll blogs
- 如何给 GitHub 添加 SSH key, 如何生成 SSH key 详细图文教程!
- HTTPS All In One
- modal over table bug
- css 使用paint创建自定义css
- 星空值、SPC、算力组成三元永动机制!VAST带你把握时代!
- C++算法代码——卡片游戏
- Error running &#39;tomcat&#39;: Unknown error
- 关于MVCC,我之前写错了,这次我改好了!
- Kubernetes 实战 —— 01. Kubernetes 介绍