error : The type org.springframework.security.authentication.AuthenticationManager cannot be resolved. It is indirectly referenced from required .class files
Spring Security error : When you get this error :
The type org.springframework.security.authentication.AuthenticationManager cannot be resolved. It is indirectly referenced from required .class files
The solution is :
1. Add spring-security-core to your build path. If you already have one, download the latest version.
2. after mvn clean install , if you still see error in eclipse. refresh the project.
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-core</artifactId>
<version>5.0.0.RELEASE</version>
</dependency>
Pingback: Solution : Spring Security error : BCryptPasswordEncoder » JavaTuto