Monday, April 1, 2013

Eclipse IDE is a good help when Spring bean is missing.

Never thought Eclipse IDE has already determine there is a missing bean declaration in my Spring configuration. I have a Spring project, when I execute this project, the following error will be shown in the console output.
   cvc-id.1: There is no ID/IDREF binding for IDREF 'inputDataGeneratorDao'.

This error happened where there is an inputDataGeneratorDao bean is being reference in the property of another bean, but its Spring declaration of this bean is undeclared.

I really miss out this error before I execute this project.

No comments: