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( 333)
at org.jivesoftware.smack.XMPPConnection.login(
at org.jivesoftware.smack.XMPPConnection.login(
at org.jivesoftware.LoginDialog$LoginPanel.login(
at org.jivesoftware.LoginDialog$LoginPanel.access$400(
at org.jivesoftware.LoginDialog$LoginPanel$1.construct(
at org.jivesoftware.spark.util.SwingWorker$
at 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