Reputation: 1302
I'm getting too many compiling errors associated with Lombok and GWT.
The error is always the same:
[ERROR] Line 1: Lombok annotation handler class lombok.eclipse.handlers.HandleAccessors failed - See error log.
I have tried two versions of Lombok:
Enviroment:
1.Eclipse Kepler started with Lombok agent in .ini [
-javaagent:lombok-1.12.6.jar -Xbootclasspath/a:lombok-1.12.6.jar
-Xmx1024m -javaagent: .....\lombok-1.12.6.jar=ECJ -Xss1m -Dgwt.usearchives=false
I have tried the same with 1.14.8 but get the same error...
Upvotes: 0
Views: 892
Reputation: 731
How to managed to run the latest Eclipse + GWT plugin + GWT 2.8.2 + Lombok 1.8.2 together:
-javaagent:C:\Development\Lombok\gwt\lombok.jar=ECJ -Xbootclasspath/p:C:\Development\Lombok\gwt\lombok.jar;C:\Development\Lombok\gwt\org.eclipse.jdt.core_3.11.2-CUSTOM-GWT-2.8-20160205.jar
Upvotes: 0
Reputation: 527
GWT works directly on java sources, as explained in this link: https://projectlombok.org/features/delombok.html
Because this, you will need to use Delombok.
Upvotes: 1