Spark and Openfire Integration Problem

Hi ,

i am using Spark 2.6.0 and Openfire 3.4.1 for server side,all latest version. In the Spark, i have smack.jar and smackx.jar file(\build\lib\dist).For my requirement i have deleted those smack.jar and smackx.jar file and i replaced this with the source file of smack and smackx and placed in (\src\java\org\jivesoftware) under this folder.

Initially it were working with jar files(smack.jar) , but when i replaced with source file its not working.

I can create the Account but i am unable to login with the username and password.Reporting Invalid username and password.

The error encounter for me is ::


WARNING: Exception in Login:
SASL authentication failed:
at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java: 333)
at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:488)
at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:436)
at org.jivesoftware.LoginDialog$LoginPanel.login(LoginDialog.java:860)
at org.jivesoftware.LoginDialog$LoginPanel.access$400(LoginDialog.java:200)
at org.jivesoftware.LoginDialog$LoginPanel$1.construct(LoginDialog.java:606)
at org.jivesoftware.spark.util.SwingWorker$2.run(SwingWorker.java:131)
at java.lang.Thread.run(Unknown Source)


Please help me in this regard. why its not login when i replaced the source file instead of smack.jar file.

Thanks in Advance