Parameter 0 of constructor in Controller required a bean of type 'Service' that could not be found.
이런 에러가 발생하는 경우가 있는데, 이 에러의 원인은 다음과 같다.
Controller에서 Service bean을 자동 주입하려고 하는데 application context에서 찾지 못한 것이다.
그 이유는 Service 클래스에 @Service annotation을 달지 않았기 때문이다.
@Service
public class MyService {
...
}