Home Unsatisfied dependency expressed through constructor parameter
Post
Cancel

Unsatisfied dependency expressed through constructor parameter

Unsatisfied dependency expressed through constructor parameter

available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}


블로그를 보니 어노테이션 문제라는 것을 알 수 있다.

ex) @Service를 명시안했다던지,,,


나는 어노테이션을 명시한게 아니라 @Service와 연결된 파일들을 적는 private final에 model을 넣어서 에러가 뜬 것이었다.

→ @Service가 아닌 model을 넣었으니 @Service라고 안적혀있는데? 하고 에러가 뜬 것 같다.



1. blog
2. blog : [스프링 Error]org.springframework.beans.factory.NoSuchBeanDefinitionException 에러메시지

This post is licensed under CC BY 4.0 by the author.