Thursday, February 19, 2009

NoSuchBeanDefinitionException

It is common to get similar error:

org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'photoUserTag' is defined

The solution is:
Verify that bean name matches with the bean definition.