XML アプリケーションコンテキストで定義されているカスタムスキーマの Bean インジェクションの不正な型を報告します。
例:
public class SimpleBean{}
<beans ...>
<bean class="SimpleBean" id="simpleBean"/>
<mvc:annotation-driven
conversion-service="simpleBean" <!-- reports "Bean must be of 'org.springframework.core.convert.ConversionService' type" -->
message-codes-resolver="simpleBean" <!-- 'Bean は org.springframework.validation.MessageCodesResolver' 型にする必要があります" が報告されます -->
validator="simpleBean" <!-- "Bean は 'org.springframework.validation.Validator' 型にする必要があります" が報告されます -->
/>
</beans>