当前位置: 首页 > news >正文

Unable to load class ‘org.slf4j.LoggerFactory‘.解决

1. 问题发生


第二天重新打开项目时发生报错

Unable to load class 'org.slf4j.LoggerFactory' org.slf4j.LoggerFactory Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.) Re-download dependencies and sync project (requires network) The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem. Stop Gradle build processes (requires restart) Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project. In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.

2.问题解决

将gradle-wrapper.properties中:

distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
更改为
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-all.zip
http://www.dtcms.com/a/613437.html

相关文章:

  • 2025年印尼服务器选型指南:跨境业务落地的合规与性能双解
  • 【C++】C++11:右值引用和移动语义
  • 【ZeroRange WebRTC】视频文件RTP打包与发送技术深度分析
  • 上海网站建设网站开发seo矩阵培训
  • 动手实践:安装Docker并运行你的第一个Web应用
  • 入门C语言编译器 | 学习如何选择和配置C语言开发环境
  • 开源asp学校系统网站跨境电商平台有哪些免费的
  • 前端构建工具多页面配置,Webpack与Vite
  • 茂名网站建设服务怀柔高端网站建设
  • Photoshop图层样式
  • Python 第三方库:Markdown(将文本渲染为 HTML)
  • [智能体设计模式] 第12章:异常处理与恢复
  • 网站建设 维护揭阳百度seo公司
  • STL设计模式探秘:容器适配器仿函数
  • 平面翻转群
  • 毕业设计做音乐网站网站开发的最初阶段包括
  • 【ros2】ROS2 C++节点创建指南
  • 可编程逻辑器件学习(day18):FPGA时序理论与数字电路基础深度解析
  • 大数据Spark(七十三):Transformation转换算子glom和foldByKey使用案例
  • 工业显示器在真空包装机中的应用
  • 西安网站建设咪豆广告发布与制作
  • 无锡网站设计服务电子商务网站技术
  • 跨平台账号矩阵高效协同术
  • Ubuntu重新挂载Windows C盘以及如何安全退出外挂硬盘
  • 前端微前端框架原理,qiankun源码分析
  • 深入HarmonyOS打印服务:从基础到高级应用开发
  • 在ubuntu中创建根文件系统
  • 科大讯飞哪些做教学资源的网站泰安网络推广seo
  • 建站资源共享怎样在阿里云做网站
  • 前端无障碍开发检查清单,WCAG合规