why I am not able to access the get and set method using @Getter and @Setter Annotation in Spring Boot Application?
import lombok.Getter;
import lombok.Setter;
public class Card {
@Getter//(lazy = true)
@Setter
private int id;
@Getter
@Setter
private String cardvalue;
}
In my Controller class it says both methods are undefined. Note: In pom.xml added Lombok dependency
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.16</version>
<scope>provided</scope>
</dependency>
and verified as well whether file downloaded successfully in Maven Dependencies or not.
Is there any configuration to do in order use that methods using annotation? please help!