-
Notifications
You must be signed in to change notification settings - Fork 585
Manifest issue in the jar file #911
-
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
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment 6 replies
-
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).
Beta Was this translation helpful? Give feedback.
All reactions
-
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
Beta Was this translation helpful? Give feedback.
All reactions
-
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?
Beta Was this translation helpful? Give feedback.
All reactions
-
For no reason I am mentioned in this thread
Beta Was this translation helpful? Give feedback.
All reactions
-
There was a bot posting about some porn site, it mass spammed a bunch of people.
Beta Was this translation helpful? Give feedback.
All reactions
-
👀 1