This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
lombok [2020/07/02 19:40] admin |
lombok [2020/07/02 19:49] (current) admin |
||
---|---|---|---|
Line 17: | Line 17: | ||
And if you are in eclipse you have to do Maven->Update project and Run -> Clean and Run -> Install | And if you are in eclipse you have to do Maven->Update project and Run -> Clean and Run -> Install | ||
+ | |||
+ | Sometimes happens that maven downloads incorrectly the library. Then eclipse doesn't recognize the lombok annotations. The way to discover that is that when you run the maven install, you'll see an error regarding that like | ||
+ | |||
+ | [ERROR] error: error reading C:\Users\xxx\.m2\repository\org\projectlombok\lombok\1.18.12\lombok-1.18.12.jar; invalid LOC header (bad signature) | ||
+ | |||
+ | The solution is to remove manually the projectlombok folder and run maven install again. It will download again it and the error will be gone. |