Skip to content

java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags #1651

Description

@kliu4

I have following dependency in pom.xml:

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

When I run mvn clean install, I have following error:

    Caused by: java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
        at java.lang.ClassLoader.findClass (ClassLoader.java:711)
        at java.lang.ClassLoader.loadClass (ClassLoader.java:566)
        at lombok.launch.ShadowClassLoader.loadClass (ShadowClassLoader.java:418)

I tried to use java 1.8, 1.9, 1.10. And I tried lombok 1.6.10, 1.6.12, 1.6.20. All of them have the same problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    parkedWithout further feedback this bug cannot be processed. If no feedback is provided, we close these.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions