grails 怎么配置才能调用dubbo服务

初次接触grails和groovy,很多东西不太明白。
grails的项目想调用一个dubbo服务,服务接口的.jar已添加到libs中;

把dubbo的配置写在grails-app/conf/spring/resources.xml中,在controller中def xxxService。

可是启动服务后,xxxService为null。

跪求解答

http://www.oschina.net/question/2996053_2203904