Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty JAR in AOT Build #26

Open
volisoft opened this issue Sep 11, 2024 · 0 comments
Open

Empty JAR in AOT Build #26

volisoft opened this issue Sep 11, 2024 · 0 comments

Comments

@volisoft
Copy link

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

@volisoft volisoft changed the title Main Class Not Found in AOT Build Empty JAR in AOT Build Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant