我正在尝试将jwt令牌连接到我的项目,在工作期间我遇到了一些问题。我遵循了提到的指令,但我有错误。我试着用来自的同样的问题来解决它,但是它对我不起作用。我想我漏掉了什么。
Consider defining a bean of type 'org.springframework.security.crypto.bcrypt.BCryptPasswordEncoderbCryptPasswordEncoder</em
我无法在我的类UserDetailsService中自动启动SecurityConfig,并且在尝试启动应用程序时出现了错误。我不知道什么不起作用,我已经用相同的配置启动了一个项目。org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'bCryptPasswordEncoderorg.springframework.beans.fact
不过,我试着看了几个类似的问题,它们似乎使用了不同的方法/类结构。我也在使用Lombok (不确定这是否是一个问题)Parameter 1 of constructor in com.example.javaspringboot.Security.SecurityConfigurationrequired a bean of type 'org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder