[Bug]: Library source doesn't match bytecode

Author: AB-xdevCreated Feb 6, 2024Updated Sep 16, 2026
Labelstype/bug

Module

Core

Testcontainers version

1.19.4

Using the latest Testcontainers version?

Yes

What happened?

It looks like you are using Lombok in your source code. This is fine, however when you publish the source jar make sure that the actual generated code from lombok is inside this jar.

Currently when viewing the source code e.g. line numbers are distorted, imports are invalid and IntelliJ brings this warning: grafik

We e.g. had major problems debugging why GenericContainer#startupAttempts was not 1 because according to the provided source code no setter is invoked ist not set anywhere: grafik but it is: grafik

Additional Information

You may have a look at:

Source: testcontainers/testcontainers-java