rabbitmq-java-client icon indicating copy to clipboard operation
rabbitmq-java-client copied to clipboard

Cannot resolve symbol 'AMQP'?

Open neilss opened this issue 10 years ago • 2 comments

I downloaed source code rabbitmq-java-client-3.6.5.zip and imported into Intellij IDEA. The maven compile success, but when explore source code, I found this error:

image

I'm comfused what is 'AMQP' symbol, package or something else?

neilss avatar Sep 28 '16 03:09 neilss

The AMQP class is part of the classes generated from the AMQP specification. Do the following to generate those classes:

ant amqp-generate

They should be generated in the build/gensrc directory. Add then this directory to the sources of your project so the compiled classes are in the classpath.

acogoluegnes avatar Sep 28 '16 07:09 acogoluegnes

Please post questions to rabbitmq-users or Stack Overflow. RabbitMQ uses GitHub issues for specific actionable items engineers can work on, not questions. Thank you.

acogoluegnes avatar Sep 28 '16 07:09 acogoluegnes