Parameter 0 of constructor in - required a bean of type '-' that could not be found.
스프링 빈이 제대로 등록되지 않아 생기는 오류.
@Repository, @Controller, @Service 등의 어노테이션이 제대로 다 기재되었는지 확인해보자.
또한,
@SpringBootApplication 옵션으로 exclude = DataSourceAutoConfiguration.class를 지정해줄 시에, 스프링 빈이 모두 제대로 등록되지 않기에 이와 같은 오류가 발생할 수 있다.
API Test 오류
Error 401: Access Denied
Spring Security를 잠시 주석처리한 후 다시 테스트.
Error 415: Unsupported Media Type
MediaType이 JSON인지 확인