java.security.ProviderException : Could not initialize NSS

I am getting error in init method of SunPKCS11.java class. everything seems correct from my side, what could be the possible reason for the same.

java.security.ProviderException: Could not initialize NSS
Caused by: java.io.IOException: NSS initialization failed

17:49:07.804 |3420,,,kjsac,3,sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:223)
17:49:07.804 |3420,,,kjsac,3,sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:103)