无法在 STS 4 中获取 gradle IncrementalProcessingEnvironment 的委托

Can't get the delegate of the gradle IncrementalProcessingEnvironment in STS 4

自从我安装了 Spring Tool Suite 4 之后,我在每个 class 定义上都收到警告

Can't get the delegate of the gradle IncrementalProcessingEnvironment.

我不使用 gradle 来构建我的项目,而是使用 Maven。那么,为什么需要 gradle IncrementalProcessingEnvironment?我怎样才能摆脱这些警告?

看起来这里也有报道: https://github.com/spring-projects/sts4/issues/95

看起来这与在 Spring Tools 4 for Eclipse 中安装和使用的 Lombok 有关。由于Lombok在安装时对Eclipse底层代码修改比较多,不知Lombok是否已经兼容SpringTools 4中使用的Eclipse 4.9(2018-09),不比野猜测,但我认为问题与此有关。

看起来像这样的事情已经报告给了 Lombok 项目:https://github.com/rzwitserloot/lombok/issues/1813 - 人们报告说 Lombok 的 Edge 版本运行得更好,甚至修复了这个问题。建议尝试一下 Lombok 的 Edge 版本。

尝试将 sts 路径 lombox 版本更改为与 maven 依赖 lombox 版本相同

双击依赖lombox.jarselectidests.exe(我没问题)