Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Manifest issue in the jar file #911

mdziczkowski started this conversation in General
Discussion options

After downloading the client from the link given on the rabbitmq website, with points to: Maven repository and then trying to launch it using OpenJDK-11, I had recieved a following error related to the manifest:

no main manifest attribute, in ./amqp-client-5.16.0.jar

After extracting the jar file and opening the manifest file in a code editor, I saw that the content was missformed and I haven't seen the required to make it work Main-class attribute.

Could someone fix that?

Thanks

You must be logged in to vote

Replies: 1 comment 6 replies

Comment options

This is a library, not an executable. There is no main file in the manifest because, well, there really is no main file.

Perhaps you are confusing this client with PerfTest, which is an executable (although there's also bits that can be used as a library).

You must be logged in to vote
4 replies
Comment options

I would like to ask in this case, why isn't there any. It would make the implementation much easier if there were a main class and function.

In my opinion, there should exist client binaries (and scripts in case of some programming languages) and the "libraries" should be moved into the developer section, to don't cause confusion

Comment options

IIUC you expected a CLI tool to interact with RabbitMQ. That's not what the Java client is. The programming language of such a tool would not matter anyway. The RabbitMQ website lists some tools like this.

In my opinion, there should exist client binaries (and scripts in case of some programming languages) and the "libraries" should be moved into the developer section, to don't cause confusion

What are you referring to? A page on the website?

Comment options

For no reason I am mentioned in this thread

Comment options

There was a bot posting about some porn site, it mass spammed a bunch of people.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Converted from issue

This discussion was converted from issue #910 on December 25, 2022 17:19.

AltStyle によって変換されたページ (->オリジナル) /