how to build source code? #1392
Closed
shangjianan2
started this conversation in
General
Replies: 1 comment
-
This client uses code generation, see https://www.rabbitmq.com/client-libraries/build-java-client |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
I want to build a new version, but after downloading the source code, I'm unable to compile it. (Currently, the known problem is that there is no class named "com.rabbitmq.client.AMQP" in the source code, but this class exists in "com.rabbitmq:amqp-client"). Could you please tell me how to solve this problem?
Reproduction steps
1.git clone https://github.com/rabbitmq/rabbitmq-java-client.git
2.Use idea new project from existing sources
3.compile
4.error: "Failed to generate D:\data\BianCheng\java\rabbitmq\source\rabbitmq-java-client\target/generated-sources/src/main/java/com/rabbitmq/client/AMQP.java with command: python D:\data\BianCheng\java\rabbitmq\source\rabbitmq-java-client/codegen.py header D:\data\BianCheng\java\rabbitmq\source\rabbitmq-java-client/deps/rabbitmq_codegen/amqp-rabbitmq-0.9.1.json D:\data\BianCheng\java\rabbitmq\source\rabbitmq-java-client\target/generated-sources/src/main/java/com/rabbitmq/client/AMQP.java
"
...
Expected behavior
compile success
Additional context
jdk1.8
Beta Was this translation helpful? Give feedback.
All reactions