Spring configuration in GWT Project?

Posted by Firstthumb on Stack Overflow See other posts from Stack Overflow or by Firstthumb
Published on 2009-11-19T07:34:36Z Indexed on 2010/05/14 13:14 UTC
Read the original article Hit count: 242

Filed under:
|
|
|
|

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?

© Stack Overflow or respective owner

Related posts about gwt

Related posts about spring