how to include javax.jms.* in eclipse?

前端 未结 9 1309
太阳男子
太阳男子 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条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-05 17:21

    If you want to resolve this issue using maven, then the correct maven dependency, available in maven repository, is the following:

        
            javax.jms
            jms-api
            1.1-rev-1
        
    

    See post: The following artifacts could not be resolved: javax.jms:jms:jar:1.1

提交回复
热议问题