I want to use Spring MVC 3.0.5 with IBM Websphere 7.0 EJB3.0.
I have managed to inject an stateless bean into a spring bean but I can not inject
a spring bean into a stateless bean (I need to inject a ldapTemplate bean into DAO).
I think the problem is with beanRefContext.xml ...
the error is
<bean id="contextFromBeanRef.context" class="org.springframework.context.support.ClassPathXmlApplicationContext">
<constructor-arg value="classpath*:app-servlet.xml" />
EJB threw an unexpected (non-declared) exception during invocation of method "searchADUser". Exception data: javax.ejb.EJBException: session bean post construct failure; nested exception is: org.springframework.beans.factory.NoSuchBeanDefini tionException: No bean named 'ldapTemplate' is defined
Does anyoane knows why the beans in app-servlet.xml are not created or what happends ?