STS 3.8.4无法生成setter和getter索引:5大小:5错误

问题描述 投票:0回答:1

在STS版本3.8.3和3.8.4中,我无法生成setter和getter。它给出以下错误:

生成getter和setter失败索引:5,大小:5

enter image description here

spring-tool-suite
1个回答
1
投票

我得到了同样的问题,这是因为lombok依赖。

打开STS.ini,评论#-javaagent:lombok.jar并重启STS。现在,您将能够生成getter和setter。

© www.soinside.com 2019 - 2024. All rights reserved.