I am developing a GWT-Spring-Hibernate project and I want to use Spring Autowired annotation in GWT Service Servlet but my autowired annotated service is not injected. it is null. Is there a configuration detail that I missed?
I add
<context:annotation-config />
<context:component-scan base-package="com.org" />
to my ApplicationContext.xml and I have annotated my service as @Service("myService")
@Autowired
MyService myService; // This is null so WHY?