龙目岛不适用于IntelliJ 2020.3社区版 [英] Lombok not working with IntelliJ 2020.3 Community Edition

查看:59
本文介绍了龙目岛不适用于IntelliJ 2020.3社区版的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

直到今天,我的Intellij自动更新为11月30日发布的最新版本2020.3,我才与Lombok毫无问题地合作.此后,不再识别任何Lombok注释.

I worked with Lombok without any problems until Today, when my Intellij was automatically updated to the latest version 2020.3 30th, November build. After that, any Lombok annotations is not recognised anymore.

我的Java项目仍然使用Maven从命令行构建,但是注释在项目中被完全忽略,并且无法手动运行任何单元测试.

My Java project still build from command line with Maven but annotations are completely ignored in the project and cannot run any unit tests manually.

到目前为止我尝试过的事情:

Things I tried so far:

  • 重新安装了Lombok插件
  • 重新启动Intellij
  • 重新启动笔记本电脑
  • 使缓存无效
  • 从github重新克隆项目
  • 检查注释处理器已启用

没有任何效果.会发生什么事?对我可以尝试做的事情有任何想法吗?

Nothing worked. What could have happened? Any idea on what I can try to do?

推荐答案

总结请转到IntelliJ首选项(Cmd +,)

To summarize go to IntelliJ Preferences (Cmd + ,)

首选项->构建,执行,部署->编译器

搜索此选项:

用户本地构建过程VM选项(覆盖共享选项):

并添加此值:

-Djps.track.ap.dependencies = false

这篇关于龙目岛不适用于IntelliJ 2020.3社区版的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆