JZTXT
  • 首页
  • Ai
  • Java
  • Python
  • Android
  • Mysql
  • JavaScript
  • Html
  • CSS

spring:Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory”

发布时间 2023-12-24 20:22:37作者: 孙欣然

Java运行时环境中找不到org.apache.commons.logging.LogFactory这个类。

 

 

在maven中导入依赖即可

 

<dependency>  
    <groupId>commons-logging</groupId>  
    <artifactId>commons-logging</artifactId>  
    <version>1.2</version> <!-- 使用你需要的版本 -->  
</dependency>

  

    本栏目推荐文章
  • 【Leetcode1949. 坚定的友谊】使用MySQL在无向图中寻找{"CompleteTripartite", {1, 1, 3}}这个pattern
  • Python中出现"No module named 'requests'"的图文解决办法
  • 在Windows上出现"localhost拒绝连接”的问题
  • "nginx.conf" E514 : write error (file system full?)
  • 加了@SessionAttributes("uid")退出登陆后如何清除session
  • [LeetCode] 2085. Count Common Words With One Occurrence
  • cdn引入vue后报错无法识路径 Uncaught TypeError: Failed to resolve module specifier "vue". Relative references must start with either "/", "./", or "../".
  • jni Exception in thread "main" java.lang.UnsatisfiedLinkError:
  • [Vue warn]: Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".
  • [转帖]京东大佬细说:Nginx反向代理时保持长连接,看完直呼"学到了!"
版权声明:本网站为非赢利性站点,本网站所有内容均来源于互联网相关站点自动搜索采集信息,相关链接已经注明来源。
联系我们