idea报错: 程序包lombok.extern.slf4j不存在

问题

gradle项目: ,junit运行报错
idea报错: 程序包lombok.extern.slf4j不存在

解决办法:

idea报错: 程序包lombok.extern.slf4j不存在改成如下:

idea报错: 程序包lombok.extern.slf4j不存在

原因

idea报错: 程序包lombok.extern.slf4j不存在
参考:
in a pure java/kotlin project , building and running by means of the IDE might be faster,thanks to optimizations . Note , that the IDE doesnt support all Gradle plugins and the project might not be built correctly with some of them.

在纯java/kotlin项目中,通过IDE构建和运行可能更快,这得益于优化。注意,IDE不支持所有的Gradle插件,并且项目可能不能正确地使用其中的一些插件来构建

相关文章:

  • 2022-12-23
  • 2021-10-23
  • 2021-04-06
  • 2021-11-12
  • 2022-12-23
  • 2022-12-23
  • 2021-12-15
猜你喜欢
  • 2021-09-02
  • 2021-11-29
  • 2021-12-18
  • 2021-11-09
  • 2021-10-31
  • 2021-06-10
  • 2021-07-27
相关资源
相似解决方案