龙目岛不适用于STS [英] Lombok not working with STS
问题描述
尽管我喜欢lombok,但有时在配置时会带来太多问题,尤其是在Linux中.当我尝试安装它时,出现以下错误:
Although I love lombok, it gives too much problems while configuring sometimes, specially in Linux. When I was trying to install it, I was getting the following error:
我尝试按照此处的建议手动进行设置 https://github.com/rzwitserloot/lombok/issues/95 但这也不可行.有什么建议吗?
I tried to set it up manually,as suggested here https://github.com/rzwitserloot/lombok/issues/95 but that didn't work out either. Any suggestions?
推荐答案
我在Lombok的代码中发现了一个错误.当他们在此提交中为STS修复该问题时:
I found a bug in Lombok's code. As they fixed it for STS in this commit:
>://://.github.com/rzwitserloot/lombok/commit/c3a3c09f4fd0028389c
https://github.com/rzwitserloot/lombok/commit/c3a3c09f4fd00b83814c1949fa5282ac9c595fa3
,他们总是将结束目录名称添加两次.因此,为了解决此问题,我使用与父文件夹相同的名称重命名了安装文件夹.
where they were always adding the end directory name twice. So for a work around I renamed my installation folder with same name as my parent folder.
现在,在选择安装目录时,我将选择外部文件夹.
Now while selecting the installation directory I'll choose the outer folder.
新安装目录:/home/ansh/softwares/sts/sts
New installation directory: /home/ansh/softwares/sts/sts
新选择的龙目岛位置:/home/ansh/softwares/sts
New selected location for lombok: /home/ansh/softwares/sts
这篇关于龙目岛不适用于STS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!