Jayesh A Lalwani wrote:Did you put <context:annotation-config/> in your spring xml? Unless you don't put that, Spring won't scan your code for common annotations
Hmmm.. nice point but I am not sure does this really needed. After putting this tag in my Spring config I got deploy error:
nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException:
No bean named 'ejb/ContestEligibilityValidation' is defined
the property ContestEligibilityValidation class is the property field at mine my.company.service.facade.contest.ejb.MyServiceFacadeBean. Here is it:
And this is it declaration:
Maybe I have missed some?
I want to mention I can NOT change the source code of mine Facade and it dependencies. It is workable and deployable at another project. I need to migrate theses in new project. Please help!
I am on JBoss 5.0.1 with Java 6.
I think it is J2EE container regarding your question. Do not clearly understand how EJB Beans can be hosted by Spring but this maybe another story and please do not take care about this