This should work as is, and has nothing to do with IntelliJ idea. But I would:
- make sure the
@Data
annotation is the lombok one - remove the repository definition (maven central is fine)
- use a recent lombok version (1.16.0 as of this writing)
- rebuild (
mvn clean package
)
I think the lombok jar is not found by maven in your case or that you might have another @Data
.