Lombok: jdk10 compile error

Created on 21 Mar 2018  Â·  5Comments  Â·  Source: projectlombok/lombok

org.projectlombok lombok 1.16.20

➜ ~ java -version java version "10" 2018-03-20 Java(TM) SE Runtime Environment 18.3 (build 10+46) Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10+46, mixed mode)

mvn spring-boot:run

Fatal error compiling: java.lang.ExceptionInInitializerError: com.sun.tools.javac.code.TypeTags

Most helpful comment

Already fixed in the edge release.

All 5 comments

looks like a duplicate of #1572

Already fixed in the edge release.

Is it possible to get the edge release from Maven?
Do you know when a version with this fix will be released?

You can install the jar in your local repository with command:

mvn install:install-file -Dfile=lombok-edge.jar -DgroupId=org.projectlombok -DartifactId=lombok -Dversion=edge -Dpackaging=jar

And use it with:

<dependency>
    <groupId>org.projectlombok</groupId>
    <artifactId>lombok</artifactId>
    <version>edge</version>
</dependency>

This version isn't in central repositories.

yes I know but I'm more concerned about our build tool which uses Artifactory, and for some reason I'm not able to able upload the artifact there. That's something which I will check with Artifactory but was wondering if there was a workaround.
Is there a planned date for a next release?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lombokissues picture lombokissues  Â·  34Comments

lex-em picture lex-em  Â·  61Comments

ilgrosso picture ilgrosso  Â·  76Comments

pgaschuetz picture pgaschuetz  Â·  42Comments

gudenau picture gudenau  Â·  47Comments