[BUG][REG 1.18.32] A required class was missing while executing org.eclipse.tycho:tycho-compiler-plugin:4.0.7:compile: org/eclipse/jdt/internal/compiler/parser/Parser
Author: bllngrCreated Jun 7, 2024Updated Sep 2, 2026
Describe the bug Compiling a test project with Tycho 4.0.7 and Lombok (both 1.18.32 and edge) fails with an error:
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:4.0.7:compile (default-compile) on project com.vogella.logging.config: Execution default-compile of goal org.eclipse.tycho:tycho-compiler-plugin:4.0.7:compile failed: A required class was missing while executing org.eclipse.tycho:tycho-compiler-plugin:4.0.7:compile: org/eclipse/jdt/internal/compiler/parser/Parser
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>org.eclipse.tycho:tycho-compiler-plugin:4.0.7
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/D:/.m2/repository/org/eclipse/tycho/tycho-compiler-plugin/4.0.7/tycho-compiler-plugin-4.0.7.jar
[ERROR] urls[1] = [...]To Reproduce
git clone https://github.com/bllngr/tycho-lombok-example
cd tycho-lombok-example
git switch lombok
export MAVEN_OPTS="-javaagent:${PWD}/bundles/org.projectlombok.lombok/lombok-1.18.32.jar"
mvn clean install -DskipTestsExpected behavior Compilation succeeds without errors.
Version info (please complete the following information):
- Lombok version 1.18.32 and edge
- Platform:
Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae) Maven home: C:\maven Java version: 21.0.3, vendor: Azul Systems, Inc., runtime: C:\Program Files\Zulu\zulu-21 Default locale: en_GB, platform encoding: UTF-8 OS name: "windows 11", version: "10.0", arch: "amd64", family: "windows"
Additional context With older Lombok versions like 1.18.30, compilation succeeds (and then fails at the materialize step, but this is a problem with the project and not Lombok)
Source: projectlombok/lombok