title: Liferay $serviceLocator.findService("com.test.Foo") in portal_normal.vm giving NoSuchBeanDefinitionException
body: <p>I'm using liferay6 and trying to access com.test.Foo (added to ext-service) in portal_normal.vm using</p>
  
  <pre><code>#set ($mySvc = $serviceLocator.findService("com.test.Foo"))
  </code></pre>
  
  <p>I'm getting the following exception.</p>
  
  <blockquote>
    <p>Caused by:
    org.springframework.beans.factory.NoSuchBeanDefinitionException: No
    bean named 'com.test.Foo' is defined.</p>
  </blockquote>
  
  <p>Where do i need to declare this bean?</p>