Hi, I add all your code in my spring boot project and the compilation was successfull, but when spring boot is staring it came out with this error :

***************************
APPLICATION FAILED TO START
***************************

Description:

Field bCryptPasswordEncoder in news.config.SecurityConfiguration required a bean of type ‘org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder’ that could not be found.

Can you give me an advice to fix it.

)