Open MaltsevDmytro opened 1 year ago
Lombok does not generate code with this annotation. Why do you think this is a lombok problem and not one related to the other dependencies or your project code?
The compiler should print a location where this annotation is used, that should help you to find the root cause.
I doublecheck and I am sure that Lombok somehow trigger this problem, all messages from complier is presented in previous comment.
can provide a reproducer or the rest of the dependency list?
Describe the bug When I added Lombok dependency to my
build.gradle
file andlombok.config
file I cannot compile my project with errorcannot access XmlRootElement
. After investigation I find out that transient dependency provided by third party libraryjavax.xml
is absent in my dependency tree. I was trying to built project through, gradlew file, internal gradle of IntelijIdea and installed gradle on my pc, also invalidate cache, reinstall IDE, redownload project from remote repository. Also changing Lombok version from 1.18.28 to 1.16.20 didn't help. When I remove all new deps and files everything works fine.To Reproduce Stacktrace of gradle build:
lombok.config:
build.gradle:
Expected behavior Build without any errors
Version info (please complete the following information):
Lombok
- 1.18.28Gradle
- 8.2JDK
- OpenJDK 17.07MacOS
- 13.4IntelijIDEA
- 2023.1.3 (Ultimate Edition)