Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] - Mapping annotations in spring #3812

Open
pedrolgsoares opened this issue Jan 18, 2025 · 2 comments
Open

[BUG] - Mapping annotations in spring #3812

pedrolgsoares opened this issue Jan 18, 2025 · 2 comments

Comments

@pedrolgsoares
Copy link

When mapping my entity with the : @Getter and @Setter and running the application build, I run into the following error:

java: cannot find symbol
symbol: method getId()
location: variable categoria of type com.pedrolgsoares.backend.domain.categoria.Categoria

Solution for now is just setting the getters and setters manually

@NargesHme
Copy link

do you specify lombok version in pom file?

@RezaRfahi
Copy link

RezaRfahi commented Jan 22, 2025

I had the same problem in Intellij IDEA and I specified 1.18.36 version of lombok
also I had checked the Annotation Processor
but no set or get method generated!

Actually dont forget to run "mvn clean install" after adding version tag

now its built successfully!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants