문제 상황Parameter 1 of constructor ... required a bean of type 'PasswordEncoder' that could not be found(서비스 생성자 파라미터에서 주입 오류 발생)AppConfig에서 @Bean으로 PasswordEncoder를 정상 등록했음에도Could not autowire. No beans of 'PasswordEncoder' type found.라는 에러가 계속 발생원인 분석AppConfig(설정 클래스)를com.example.config(=최상위) 패키지에 두었으나,메인 클래스(@SpringBootApplication)가 com.example.board 하위에 위치→ Spring Boot의 기본 컴포넌트 스캔 정책상메인 클래스 “하위..