org.springframework.beans.MethodInvocationException: Property 'passwordEncoder' threw exception; nested exception is org.jasypt.exceptions.EncryptionInitializationException: java.security.NoSuchProviderException: no such provider: BC

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Stack Overflow by Sergio Leal
, 1 year ago
Property 'passwordEncoder' threw exception; nested exception is org.jasypt.exceptions.EncryptionInitializationException: java.security.NoSuchProviderException: no such provider: BC
via GitHub by yyl8815
, 1 year ago
Property 'signingKey' threw exception; nested exception is java.lang.IllegalArgumentException: String is not PEM encoded data
via Stack Overflow by Sumeet Tiwari
, 5 months ago
Property 'driverClassName' threw exception; nested exception is java.lang.IllegalStateException: Could not load JDBC driver class [org.apache.hive.jdbc.HiveDriver]
via Stack Overflow by user1175861
, 2 years ago
Property 'driverClassName' threw exception; nested exception is java.lang.IllegalStateException: Could not load JDBC driver class [oracle.jdbc.OracleDriver]
via coderanch.com by Unknown author, 1 year ago
Property 'driverClassName' threw exception; nested exception is : Could not load JDBC driver class [com.ibm.db2.jcc.DB2Driver]
via Stack Overflow by Raj
, 2 years ago
Property 'driverClassName' threw exception; nested exception is java.lang.IllegalStateException: Could not load JDBC driver class [${jdbc.driverClassName}]
org.springframework.beans.MethodInvocationException: Property 'passwordEncoder' threw exception; nested exception is org.jasypt.exceptions.EncryptionInitializationException: java.security.NoSuchProviderException: no such provider: BC
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:329)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:354)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:154)
at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:616)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:148)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1035)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:939)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
344 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.