tchiotludo / akhq

Kafka GUI for Apache Kafka to manage topics, topics data, consumers group, schema registry, connect and more...
https://akhq.io/
Apache License 2.0
3.4k stars 657 forks source link

"no main manifest attribute, in kafkahq.jar" for the latest release #31

Closed rockybean closed 5 years ago

rockybean commented 5 years ago

When I try to run kafkahq by docker or standalone way, I met the following issue.

"no main manifest attribute, in kafkahq.jar"

As I know, this means the jar misses a Manifest file to specify the Main class.

Any idea?

tine2k commented 5 years ago

Seems to me that the build is broken. This is the content of the docker image (0.4.0):

/app # ls -la /app
total 2728
drwxrwxr-x    1 root     root          4096 Feb 23 13:57 .
drwxr-xr-x    1 root     root          4096 Feb 23 17:51 ..
-rwxrwxr-x    1 root     root            72 Feb 23 13:54 kafkahq
-rw-rw-r--    1 root     root       2779750 Feb 23 13:57 kafkahq.jar

The jar file only has 2.7 MB and does not contain any third-party libs like Micronaut.

tchiotludo commented 5 years ago

I confirm !!

I forgot to update the travis build to follow micronaut shadowJar. Build in progress !

Thanks for the report :)

tchiotludo commented 5 years ago

Fix in 0.4.1 : https://github.com/tchiotludo/kafkahq/releases/tag/0.4.1

Sorry for the failed :face_with_head_bandage:

tine2k commented 5 years ago

Thanks for the quick fix! Startup with 0.4.1 works now.