Skip to content

Empty JAR in AOT Build #26

@volisoft

Description

@volisoft

When using the AOT option, the build generates an empty JAR file. The JAR contains only the manifest, without any classes.

Error Message (from container logs):
Could not find or load main class ...

Steps to Reproduce:

I used the Polylith example project from this repository: clojure-polylith-realworld-example-app.

The only change made to jib.edn was setting:
:aot true

Versions Tested:
v0.1.14
v0.1.15
Latest main commit

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions