powered by Jive Software

org.jxmpp.stringprep.XmppStringprepException can't find


#1

When I use Smack-4.3.1 to create connection to openfire, there is a compile error with : The type org.jxmpp.stringprep.XmppStringprepException cannot be resolved. It is indirectly referenced from required .class files, I can’t find this class in any jar file of Smack-4.3.1. how can I resolve this error?

thanks.


#2

The class org.jxmpp.stringprep.XmppStringprepException is part of jxmpp. How do you include Smack in your project? You should add Smack as Maven dependency, as mentioned in Smack’s Readme, because then all dependencies, such as jxmpp, will be automatically added.


#3

thanks, this is has been resolved.