Spring Security

김민욱·2022년 2월 3일
0

spring

목록 보기
5/6

spring security를 만드는 중 다음과 같은 오류를 발생하였다.

뭐,, passwordEncoder를 찾을 수 없다는 내용같아 구글링을 해봤다.
maven을 사용해서 게시판을 만들고 있었는데 아래와 같이 security에 관련된 web, config, core의 버전이 모두 최신으로 동일해야 오류가 나지 않는다는 것을 알 수 있었다.

버전이 달라 오류가 나는 pom.xml

최신 버전으로 바꿔준 pom.xml

참고한 사이트

https://stackoverflow.com/questions/48664218/class-file-for-org-springframework-security-authentication-encoding-passwordenco

https://stackoverflow.com/questions/55335317/spring-boot-passwordencoder-class-file-not-found

profile
열쪙 열쪙 열쪙

0개의 댓글