title: Spring Boot @Service annotation in extended class
body: <p>Hi I have BaseClass and It contains @Service annotation.I want to extend all my class from this class
  But In MyExtendedClass @Autowired or other aspect content are not working until I add @Service attribute to my ExtendedClass.Why is this necessary?Is there another method to avoid duplicate attribute?What I want to do is put all my attributes to base class.</p>
  
  <pre><code>@Service
  public class MyBase {
      public MyBase {
      }
  }
  
  //Normally it doesnt have @Service annotation but not work 
  public class MyExtendedClass extends MyBase 
  </code></pre>