title: Grails service using a method from another service
body: <p>I'm building a grails app and have come across an issue when trying to instatiate a service, in a different service. Both of the services use a method defined in the other eg.</p>
  
  <pre><code>class fooService{
      def barService
      barService.doIt()
  
      def getIt(){
      ...
      }
  }
  
  class barService{
      def fooService
      fooService.getIt()
  
      def doIt(){
      ...
      }
  }
  </code></pre>
  
  <p>When I run the app and go to where the methods are used, it brings up this error;</p>
  
  <pre><code>Error creating bean with name 'fooService': 
  org.springframework.beans.factory.FactoryBeanNotInitializedException: FactoryBean is 
  not fully initialized yet
  </code></pre>
  
  <p>Is this something that cannot be done in grails? Or could anyone offer any advice?</p>
  
  <p>Thanks</p>