title: Autowired Service is null in jsf Converter
body: <p>I can't inject the service using the @Autowired in the jsf converter:</p>
  
  <p>Converter:</p>
  
  <pre><code>@Component("advertiserConverter")
  @FacesConverter("advertiserConverter")
  public class AdvertiserConverter implements Converter , Serializable {
  
   @Autowired
   private IAdvertiserService advertiserService;
  
   public Object getAsObject(FacesContext context, UIComponent component, String value) {
      if (value == null || value.length() == 0) {
          return null;
      }
      Long id = Long.parseLong(value);
      return advertiserService.findAdvertiser(id);
   }
  
   public String getAsString(FacesContext context, UIComponent component, Object value) {
      return value instanceof Advertiser ? ((Advertiser) value).getId().toString() : "";
   }
  }
  </code></pre>
  
  <p>ApplicationContext.xml:</p>
  
  <pre><code>&lt;context:annotation-config /&gt;
  &lt;context:component-scan base-package="com.test.example"/&gt;
  &lt;tx:annotation-driven /&gt;
  </code></pre>
  
  <p>Service:</p>
  
  <pre><code>@Service
  @Transactional
  public class AdvertiserServiceImpl implements IAdvertiserService {
  
  }
  </code></pre>