エラー内容

Description:

Field ... in ... required a bean of type ' ... ' that could not be found.

The injection point has the following annotations:

- @org.springframework.beans.factory.annotation.Autowired(required=true)

 

Action:

Consider defining a bean of type ' ... ' in your configuration.

 

発生条件/原因/対処法

@Autowiredで指定しているクラスで上記のエラーが発生している場合、指定したクラス内で@Componentが指定されていない可能性がある。

@Componentを含むいずれかのアノテーションを指定しないと、@Autowiredできる対象とならないので注意。