I think you need to clean up your application's userlib.
Firstly, I would remove all .jar files that SAML uses, but that no other modules are have a requiredlib for.
Secondly, I would reinstall SAML. This should restore the latest versions of the .jar files SAML needs.
Thirdly, remove any old bouncy castle jar files. These all start with bc, keeping only the ones ending *-jdk18on-1.78.1
Now clean your deployment directory, and try running your application. It should work.
I hope this helps. Good luck!