没有将target / generated-sources / delombok添加为源文件夹

时间:2019-02-25 13:51:20

标签: eclipse lombok m2e

我将一个项目设置为使用public void actionPerformed(ActionEvent e) { if (e.getSource() instanceof Button) { String btnText = ((Button)e.getSource()).getLabel(); int counter = 0; for(int i=0; i<buttonArr.length; i++) { if (buttonArr[i].getLabel().equals(btnText)) counter++; if (count > 1) { for(int j=0; j<buttonArr.length; j++) { if (buttonArr[j].getLabel().equals(btnText)) this.remove(buttonArr[j]); } } } pack(); } } ,它正在将代码正确生成到lombok-maven-plugin中。

我没有使用Java 11在Eclipse(4.11-M2)中安装lombok。但是我安装了JDT APT插件。

我的问题是lombok的生成目标文件夹没有作为源文件夹添加到我的Eclipse项目中。

我在同一项目中设置了其他注释处理器,并且正在添加它们,但龙目岛没有。

**target/generated-sources/delombok**

我想念什么?

1 个答案:

答案 0 :(得分:0)

我有一个类似的问题,eclipse:clean eclipse:eclipse为我修复了它。

相关问题