-1

Following is our progress-

  1. Installed openfire server on Amazon Ubuntu instance.
  2. Developing Android client app using smack 4.1.3 lib.
  3. We have developed Registration and Login module till now.

Issue we are facing- Now that we are trying to develop chat module following package is failing to import- "org.jivesoftware.smack.chat". However documentation mentions that such package exist. He expanded jar file to find that no such package exist.

Please help!

Sumit
  • 401
  • 2
  • 6
  • 21

2 Answers2

0

Please follow this, the question in the link is quite self explanatory.

Community
  • 1
  • 1
no one
  • 477
  • 6
  • 19
0

I had the same problem. Adding the smack-im maven dependency to my pom.xml fixed the problem.

http://mvnrepository.com/artifact/org.igniterealtime.smack/smack-im/4.1.7

Edit: Here is the dependency I used for version 4.1.7:

<dependency>
    <groupId>org.igniterealtime.smack</groupId>
    <artifactId>smack-im</artifactId>
    <version>4.1.7</version>
</dependency>
  • While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - [From Review](/review/low-quality-posts/12339111) – camden_kid May 13 '16 at 09:28
  • 1
    @camden_kid Thanks, I'm still new to commenting/answering on stackoverflow. I will edit my answer to include the important part. – Simeon Nikolov May 13 '16 at 11:21