I have a bean in module1-spring.xml-
Copying the service bean in module2 and injecting child fixed the issue. module2-spring.xml-
<bean id="service" class="com.Service"> <property name="parent" ref="child"/> </bean>