I am experiencing a string error from Spring as follows:

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serviceBeforeAdvisorGos' defined in class path resource [serviceContext.xml]: Can't resolve reference to bean 'serviceMethodBeforeAdviceGos' while setting property 'advice'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serviceMethodBeforeAdviceGos' defined in class path resource [serviceContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.FatalBeanException: Could not instantiate class [com.xx.xxx.service.ServiceMethodBeforeAdviceGos]; constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/xx/xxx/service/security/EditRightsValidatorFactory

EditRightsValidatorFactory does exist in the package of com.td.bsi.service.security, and is a singleton class.

I am new in Spring. Please help. Thanks a lot in advance.

Winifred