I am developing a GWT-Spring-Hibernate project and I want to use Spring Auto-renewed annotation in the GWT Service Servlet, but my authorized annotated service is not entered. it is zero. Are there any configuration details that I skipped?
I add
<context:annotation-config />
<context:component-scan base-package="com.org" />
into my ApplicationContext.xml and I annotated my service as @Service ("myService")
@Autowired
MyService myService; // This is null so WHY?
source
share