Score:0

Delombok Lombok cannot find symbol location: package javax.annotation after spring boot 3 and jdk17 migration

tv flag

I've migrated my project to spring boot 3. Once I've done it project stopped working. cannot find symbol

[ERROR]   symbol:   class Generated
[ERROR]   location: package javax.annotation
[ERROR] -> [Help 1]

I've looked into target and see that generated class has javax annotation @javax.annotation.Generated("lombok"). Once moved to spring boot 3 javax annotation must be moved to jakarta. How to force lombok to use jakarta import jakarta.annotation.Generated?

spring boot version: 3.0.6
lombok: 1.18.28
maven-compiler-plugin: 3.10.1
lombok-maven-plugin: 1.18.20.0

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.