Problem
java.lang.NoSuchMethodError: com.rsa.jsafe.CryptoJ.isNativeAvailable(Ljava/lang/String;)Ah you lil devlil , this exception wasted alot of my time debugging and looking into the solution , this could be because of many reasons
- You have new jar in you project and you compile your code with it but when you deploy to server , it has old jar file in it's class path , and the class loader has loaded the old jar file which doesn't have this new method in the specified class.
- You may have two version of same jar file in your class path , an older version and a newer version.
I had dfc.properties file in my classpath also , everything was perfect.