You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Getters and setters are not being created. Seems to work fine until compilation. If I comment out a plugin in the Pom file the issue goes away. This has happened to other colleagues recently (last week).
To Reproduce
Create a Spring project with Maven and Java 21. With dependencies Spring Boot DevTools, Lombok, Spring Web, JDBC API, Spring Data JPA, MySQL Driver, Spring for RabbitMQ, Validation, CycloneDX SBOM support, Cloud Bootstrap, OpenFeign.
This is the Pom that I am using. You can see the commented out lines. If I don't do this I will get errors saying java: cannot find symbol symbol: method getName(). For all of setters and getters that are supposed to be created with Lombok @DaTa
Usage example: user.setName(signUpRequest.getName());
Expected behavior
I expected that after creating the project using the generation provided by Intellij I would be able to use the setters and getters from Lombok. I did not manually modify the POM.
The text was updated successfully, but these errors were encountered:
Here I'm with same problem as @patrickfeeney03, I tried several projects with spring boot 3.4.1, java 21, maven h2/postgres/mysql, jpa/hibernate, kafka and so on.. but org.projectlombok:lombok:1.18.36 is no longer working properly.
During compile time everything seems ok, but at runtime time the exception cannot find the symbol
Here I'm with same problem as @patrickfeeney03, I tried several projects with spring boot 3.4.1, java 21, maven h2/postgres/mysql, jpa/hibernate, kafka and so on.. but lombok is no longer working properly.
During compile time everything seems ok, but at runtime time the exception cannot find the symbol
Try commenting out what I commented out in my pom. May help you. For now ...
Describe the bug
Getters and setters are not being created. Seems to work fine until compilation. If I comment out a plugin in the Pom file the issue goes away. This has happened to other colleagues recently (last week).
To Reproduce
Create a Spring project with Maven and Java 21. With dependencies Spring Boot DevTools, Lombok, Spring Web, JDBC API, Spring Data JPA, MySQL Driver, Spring for RabbitMQ, Validation, CycloneDX SBOM support, Cloud Bootstrap, OpenFeign.
This is the Pom that I am using. You can see the commented out lines. If I don't do this I will get errors saying java: cannot find symbol symbol: method getName(). For all of setters and getters that are supposed to be created with Lombok @DaTa
Usage example:
user.setName(signUpRequest.getName());
Expected behavior
I expected that after creating the project using the generation provided by Intellij I would be able to use the setters and getters from Lombok. I did not manually modify the POM.
The text was updated successfully, but these errors were encountered: