I upgraded my spring boot project from 2.3 to 3.1 , I do not get any red markers in my code,but when I try to build the project, I get these errors: SpringBoot @Data not working with Spring Boot 3

Lombok works in STS: SpringBoot @Data not working with Spring Boot 3

The build works upto spring boot version 3, but when I change it to 3, These errors pop up. But when I manually type in the getters and setters, the errors go away. Is there any fix to this?

SpringBoot @Data not working with Spring Boot 3

SpringBoot @Data not working with Spring Boot 3

Comment From: bclozel

Sorry but this is most likely linked to your build or IDE setup. Please try creating a project on https://start.spring.io (try this link) for example).

You can also get help on StackOverflow if you share the content of your build file and the actual annotated class. Please avoid screenshots.

Thanks!

Comment From: lohitakshay35

@bclozel Yeah I've tried to create another spring boot 3 project and the maven build was successful, I've gone through many StackOverflow questions but no luck.Thanks for the reply!