Open oceanYuan opened 4 years ago
Please verify you are using IntelliJ 2020.2.1 version, because 2020.2 version contains a bug and doesn't work well with lombok plugin.
I have the same problem. This compiles OK:
import lombok.*;
public class Test {
@Getter
private int age;
public int getAge() {return this.age;}
public int test1() {return getAge();}
}
But if I comment out my getAge method, I get:
java: cannot find symbol symbol: method getAge() location: class Test
IntelliJ shows the @Getter
is recognised as a lombok annotation.
IntelliJ 2020.2.1 (Community Edition) Lombok plugin 0.31-2020.2 Java SDK 1.8.0_241 Windows 10 version 2004
I still have issues with lombok plugin, reinstalled the plugin and enabled annotation processing, still didn't resolved
My IDE specifications are below.
IntelliJ IDEA 2020.2.1 (Community Edition) Build #IC-202.6948.69, built on August 25, 2020 Runtime version: 11.0.8+10-b944.31 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Linux 5.3.0-42-generic GC: ParNew, ConcurrentMarkSweep Memory: 1934M Cores: 4 Registry: ide.balloon.shadow.size=0 Non-Bundled Plugins: PlantUML integration, com.intellij.ideolog, DBN, com.mallowigi, Docker, org.jetbrains.kotlin, com.chrisrm.idea.MaterialThemeUI Current Desktop: ubuntu:GNOME #######
What are you issues @achyuthkodalipages? Please provide some example project for you issue.
Please verify you are using IntelliJ 2020.2.1 version, because 2020.2 version contains a bug and doesn't work well with lombok plugin. Intellij versin is 2020.2 ,i make sure that.
I had the same problem with my MAC.
When i create getter method ,error underline disappear
To test the problem,I dropped the idea version to 2019. Error underline disappear.
So I think it's a bug.I don't know if it's idea or Lombok
Version info (please complete the following information):
Lombok version 0.31-2020.2 Platform 2020.2 Intellij (the latest version) win10 Additional context Context Email:897094999@qq.com