how to include javax.jms.* in eclipse?

前端 未结 9 1315
太阳男子
太阳男子 2021-02-05 17:10

Iam trying to implement JMS using eclipse.But when I tried to save the code, it showed that javax.jms.* cannot be resolved and there are no suggestions

9条回答
  •  温柔的废话
    2021-02-05 17:37

    When you have downloaded activemq zip file from http://activemq.apache.org then when you extract it, head on to .jar file of activemq(This jar file is required). Now from Eclipse do as follows:

    1. RightClick on Project and go to Properties
    2. Java Build Path tab
    3. Libraries tab
    4. Add External JARs...
    5. Get that .jar file from activemq folder

提交回复
热议问题